Angara.Statistics


Distribution

Namespace: Angara
Parent Module: Statistics

Union Cases

Union CaseDescription
Bernoulli(float)
Signature: float

Distribution of a yes/no experiment (1 or 0) which yields success with probability p.

Binomial(int,float)
Signature: int * float

A number of successes in a sequence of n independent yes/no experiments, each of which yields success with probability p.

Exponential(mean)
Signature: float

Time between events in a process in which events occur continuously and independently at a constant average rate = 1/mean.

Gamma(float,float)
Signature: float * float

A family of distributions of positive values. The parameters alpha and beta are sometimes called shape and rate.

Linear(...)
Signature: float * float * float

A linearly changing distribution over a [lower_bound, upper_bound) range.

LogNormal(float,float)
Signature: float * float

Normal distribution in log space of mean, standard_deviation_of_log.

LogUniform(float,float)
Signature: float * float

A uniform distribution in log space.

Mixture((float * Distribution) list)
Signature: (float * Distribution) list

A weighted mixture of distributions.

NegativeBinomial(mean,r)
Signature: float * float

A number of successes before a given number of failures r in a sequence of yes/no experiments, each of which yields success with probability p = mean/(mean+r).

Normal(float,float)
Signature: float * float

Normal distribution of mean, standard_deviation.

Poisson(mean)
Signature: float

A number of events occuring in a fixed interval of time if these events occur with a known average rate = mean.

Uniform(float,float)
Signature: float * float

A uniform distribution over [lower_bound, upper_bound) range.

Fork me on GitHub