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
.MMMPlotSuite.posterior_predictive
([var, ...])Plot time series from the posterior predictive distribution.
Plot the saturation curves for each channel.