Beta
params.Beta(alpha, beta)Beta distribution, for probabilities and utilities on [0, 1].
Example
from heormodel.params import Beta d = Beta.from_mean_se(0.2, 0.05) round(d.mean(), 3) 0.2
Methods
| Name | Description |
|---|---|
| from_mean_se | Method-of-moments Beta from a mean and standard error. |
from_mean_se
params.Beta.from_mean_se(mean, se)Method-of-moments Beta from a mean and standard error.
Requires 0 < mean < 1 and se**2 < mean * (1 - mean).