get_prior_predictive#

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

Return the prior_predictive group from idata.

Parameters:
idataaz.InferenceData

InferenceData object holding the fitted model results.

Returns:
xr.Dataset

The prior_predictive group.

Raises:
ValueError

If prior_predictive is absent from idata.