DecompositionPlots#
- class pymc_marketing.mmm.plotting.decomposition.DecompositionPlots(data)[source]#
Decomposition plots for fitted MMM models.
Provides three methods to visualize how the model decomposes the target:
contributions_over_time— Time-series of each contribution type with HDI.waterfall— Horizontal waterfall chart of mean contributions.channel_share_hdi— Forest plot of each channel’s share of total response.
- Parameters:
- data
MMMIDataWrapper Validated wrapper around the fitted model’s InferenceData.
- data
Methods
Forest plot of each channel's share of total channel contribution.
Plot time-series contributions for selected contribution types with HDI bands.
DecompositionPlots.waterfall([...])Horizontal waterfall chart showing mean contribution per component.