particles.distributions.InvGamma

class InvGamma(a=1.0, b=1.0)[source]

Inverse Gamma(a,b) distribution.

__init__(a=1.0, b=1.0)[source]

Methods

__init__([a, b])

logpdf(x)

pdf(x)

posterior(x)

Modelp is X_1,...,X_n ~ N(0, theta), theta ~ InvGamma(a, b)

ppf(u)

rvs([size])

shape(size)

Attributes

dim