Reference / binference.priors.LogNormal

binference.priors.LogNormal

class binference.priors.LogNormal(mu=0.0, sigma=1.0)[source]

Log-normal prior: log(theta) ~ Normal(mu, sigma).

Parameters:
mufloat, optional

Mean of the log of the hyperparameter.

sigmafloat, optional

Standard deviation of the log of the hyperparameter.

__init__(mu=0.0, sigma=1.0)[source]

Methods

__init__([mu, sigma])

dlogpdf_u(u)

logpdf_u(u)

median()

sample(n, rng)

Attributes

fixed