MMMPlotSuite#
- class pymc_marketing.mmm.plot.MMMPlotSuite(idata)[source]#
Media Mix Model Plot Suite.
Provides methods for visualizing the posterior predictive distribution, contributions over time, and saturation curves for a Media Mix Model.
Methods
MMMPlotSuite.__init__
(idata)MMMPlotSuite.allocated_contribution_by_channel_over_time
(samples)Plot the allocated contribution by channel with uncertainty intervals.
MMMPlotSuite.budget_allocation
(samples[, ...])Plot the budget allocation and channel contributions.
MMMPlotSuite.contributions_over_time
(var[, ...])Plot the time-series contributions for each variable in
var
.Plot counterfactual uplift or marginal effects curves.
MMMPlotSuite.posterior_predictive
([var, ...])Plot time series from the posterior predictive distribution.
MMMPlotSuite.saturation_curves
(curve[, ...])Overlay saturation‑curve scatter‑plots with posterior‑predictive sample curves and HDI bands.
Plot scatter plots of channel contributions vs.
Plot the saturation curves for each channel.