Censored.sample_prior#

Censored.sample_prior(coords=None, name='variable', **sample_prior_predictive_kwargs)[source]#

Sample the prior distribution for the variable.

Parameters:
coordsdict[str, list[str]], optional

The coordinates for the variable, by default None. Only required if the dims are specified.

namestr, optional

The name of the variable, by default “var”.

sample_prior_predictive_kwargsdict

Additional arguments to pass to pm.sample_prior_predictive.

Returns:
xr.Dataset

The dataset of the prior samples.