get_prior_predictive#

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

Return the prior_predictive group from idata.

Parameters:
idataxr.DataTree

DataTree holding the fitted model results.

Returns:
xr.Dataset

The prior_predictive group.

Raises:
ValueError

If prior_predictive is absent from idata.