Factories of frozen distributions, scipy.stats style. Parameters use the same names and conventions as the corresponding sampling functions of the library.
Properties:
| Name | Type | Description |
|---|---|---|
normal |
function | normal(loc, scale) |
uniform |
function | uniform(low, high) |
exponential |
function | exponential(rate) |
gamma |
function | gamma(shape, scale) |
chisquare |
function | chisquare(df) |
beta |
function | beta(a, b) |
studentT |
function | studentT(df, loc, scale) |
f |
function | f(dfnum, dfden) |
lognormal |
function | lognormal(mu, sigma) |
cauchy |
function | cauchy(loc, scale) |
laplace |
function | laplace(loc, scale) |
logistic |
function | logistic(loc, scale) |
gumbel |
function | gumbel(loc, scale) |
weibull |
function | weibull(shape, scale) |
pareto |
function | pareto(alpha, xm) |
triangular |
function | triangular(low, high, mode) |
rayleigh |
function | rayleigh(scale) |
truncatedNormal |
function | truncatedNormal(loc, scale, low, high) |
binomial |
function | binomial(n, p) |
poisson |
function | poisson(lambda) |
geometric |
function | geometric(p), support 1, 2, ... |
negativeBinomial |
function | negativeBinomial(n, p) |
hypergeometric |
function | hypergeometric(ngood, nbad, nsample) |
bernoulli |
function | bernoulli(p) |
randint |
function | randint(low, high), high excluded |
mixture |
function | mixture(components, weights): finite mixture of stats distributions (all continuous or all discrete), weights normalised. |
- Source: