LogNormal

params.LogNormal(mu, sigma)

Lognormal distribution, for relative risks and skewed costs.

Parameterised on the log scale: mu and sigma are the mean and standard deviation of log(X).

Example

from heormodel.params import LogNormal d = LogNormal.from_mean_se(2.0, 0.5) round(d.mean(), 3) 2.0

Methods

Name Description
from_mean_se Method-of-moments LogNormal matching the natural-scale mean and SE.

from_mean_se

params.LogNormal.from_mean_se(mean, se)

Method-of-moments LogNormal matching the natural-scale mean and SE.