Prior

Prior(name, auto_scale=True, dist=None, **kwargs)

Abstract specification of a term prior

Parameters

Name Type Description Default
name str Name of prior distribution. Must be the name of a PyMC distribution (e.g., "Normal", "Bernoulli", etc.) required
auto_scale Whether to adjust the parameters of the prior or use them as passed. Default to True. True
dist pymc.distributions.distribution.DistributionMeta or callable A callable that returns a valid PyMC distribution. The signature must contain name, dims, and shape, as well as its own keyworded arguments. None
kwargs dict Optional keywords specifying the parameters of the named distribution. {}

Methods

Name Description
update Update the arguments of the prior with additional arguments

update

Prior.update(**kwargs)

Update the arguments of the prior with additional arguments

Parameters

Name Type Description Default
kwargs dict Optional keyword arguments to add to prior args. {}