particles.distributions.Normal

class Normal(loc=0.0, scale=1.0)[source]

N(loc, scale^2) distribution.

__init__(loc=0.0, scale=1.0)

Methods

__init__([loc, scale])

logpdf(x)

pdf(x)

posterior(x[, sigma])

Modelp is X_1,...,X_n ~ N(theta, sigma^2), theta~self, sigma fixed.

ppf(u)

rvs([size])

shape(size)

Attributes

dim