Gamma
params.Gamma(shape, scale)Gamma distribution, for non-negative quantities such as costs.
Parameterised by shape (k) and scale (theta); mean = shape * scale.
Example
from heormodel.params import Gamma d = Gamma.from_mean_se(1000.0, 100.0) round(d.sd(), 1) 100.0
Methods
| Name | Description |
|---|---|
| from_mean_se | Method-of-moments Gamma from a mean and standard error. |
from_mean_se
params.Gamma.from_mean_se(mean, se)Method-of-moments Gamma from a mean and standard error.