Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MMM Plotting Gallery #820

Open
13 tasks done
wd60622 opened this issue Jul 9, 2024 · 0 comments
Open
13 tasks done

MMM Plotting Gallery #820

wd60622 opened this issue Jul 9, 2024 · 0 comments
Labels
docs Improvements or additions to documentation MMM plots

Comments

@wd60622
Copy link
Contributor

wd60622 commented Jul 9, 2024

I think it would be helpful to understand all the plots that exist and when and what someone can learn from each one

Below is a list of the current plots grouped by file and insight they provide. Feel fee to edit and add to the list

MMM Components

The YearlyFourier, AdstockTransformation and SaturationTransformation classes all have sample_curve and plot_curve workflow that can be used to plot the components of the curve.

The curves are not scaled. However, the data is just DataArray so it can be scaled before plotting. The x-axis is always scaled for Media transformations

MMM Methods

base.py

Target

  • plot_prior_predictive
  • plot_posterior_predictive

Residuals

  • plot_errors

Contributions

  • plot_components_contributions
  • plot_grouped_contribution_breakdown_over_time
  • plot_channel_contribution_share_hdi
  • plot_waterfall_components_decomposition

delayed_saturated_mmm.py

Parameter Values

  • plot_channel_parameter
  • plot_channel_contributions_grid

Media Transformations

Adstock

  • plot_new_spend_contributions

Saturation

  • plot_budget_allocation

Combined Media Effect

  • plot_direct_contribution_curves

Business Metrics

  • plot_allocated_contribution_by_channel
@wd60622 wd60622 added docs Improvements or additions to documentation MMM plots labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation MMM plots
Projects
None yet
Development

No branches or pull requests

1 participant