plotting#
Plotting functions for the Bass diffusion model.
Each function takes a fitted BassModel
and returns a (Figure, ndarray of Axes) tuple, following the convention
of pymc_marketing.plot.plot_curve(). Models plot one subplot per
coordinate of the faceting dimension (inferred from the plotted variable,
or set with dim); pass coord to select a single one. The curves
carry the dims their priors declare, so pooled p, q and m give
a single pooled curve even when the data has more dimensions.
The functions are also exposed as plot_* methods on
BassModel.
Functions
|
Plot the posterior adoption curve with the observed data. |
|
Plot the cumulative adoption S-curve with the observed data. |
|
Plot the adoption decomposition into innovators and imitators. |
|
Plot the posterior distribution of the peak adoption time. |