plot_peak#

pymc_marketing.bass.plotting.plot_peak(model, product=None, **plot_posterior_kwargs)[source]#

Plot the posterior distribution of the peak adoption time.

Parameters:
modelBassModel

A fitted Bass model.

productstr, optional

Plot a single product of a multi-product model. Default plots one subplot per product.

**plot_posterior_kwargs

Additional kwargs forwarded to arviz.plot_posterior().

Returns:
tuple[Figure, ndarray of Axes]

Figure and the axes.