get_posterior_predictive#

pymc_marketing.data.idata.utils.get_posterior_predictive(idata)[source]#

Return the posterior_predictive group from idata.

Parameters:
idataaz.InferenceData

InferenceData object holding the fitted model results.

Returns:
xr.Dataset

The posterior_predictive group.

Raises:
ValueError

If posterior_predictive is absent from idata.