Prior

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

Abstract specification of a term prior

Parameters

name : str

Name of prior distribution. Must be the name of a PyMC distribution (e.g., "Normal", "Bernoulli", etc.)

auto_scale : bool = True

Whether to adjust the parameters of the prior or use them as passed. Default to True.

dist : pymc.Distribution or callable or None = None

A callable that returns a valid PyMC distribution. The signature must contain name, dims, and shape, as well as its own keyworded arguments.

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

kwargs : dict = {}

Optional keyword arguments to add to prior args.