get_prior_predictive#

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

Return the prior_predictive group from idata.

Parameters:

idata (DataTree) – DataTree holding the fitted model results.

Return type:

xr.Dataset

Returns:

The prior_predictive group.

Raises:

ValueError – If prior_predictive is absent from idata.