LinearTrend.sample_prior#

LinearTrend.sample_prior(coords=None, **sample_prior_predictive_kwargs)[source]#

Sample the prior for the parameters used in the trend.

Parameters:
coordsdict, optional

Coordinates in the priors, by default includes the changepoints.

sample_prior_predictive_kwargsdict, optional

Keyword arguments for the pm.sample_prior_predictive function.

Returns:
xr.Dataset

Dataset with the prior samples.