stats library Null safety

Statistical computations and algorithms.

Classes

BernoulliDistribution
The Bernoulli distribution is a discrete probability distribution which takes the value 1 with a probability p and 0 otherwise.
BinomialDistribution
The Binomial distribution is a discrete probability distribution which takes the value 1 with a probability p and 0 otherwise.
ContinuousDistribution
Abstract interface of all continuous distributions.
DiscreteDistribution
Abstract interface of all continuous distributions.
Distribution<T extends num>
Abstract interface of all distributions.
ExponentialDistribution
The exponential distribution.
GammaDistribution
The gamma distribution.
InverseGammaDistribution
The inverse gamma distribution.
Jackknife<T>
A deterministic resampling technique to estimate variance, bias, and confidence intervals.
NormalDistribution
Normal (or Gaussian) distribution described by the mean or expectation of the distribution and its standardDeviation.
PoissonDistribution
The Poisson distribution is a discrete probability distribution that expresses the probability of a given number of events occurring in a fixed interval of time or space if these events occur with a known constant mean rate and independently of the time since the last event.
StudentDistribution
The Student's t-distribution.
UniformDiscreteDistribution
A discrete uniform distribution between a and b, for details see https://en.wikipedia.org/wiki/Discrete_uniform_distribution.
UniformDistribution
The continuous uniform distribution between the bounds a and b. The distribution describes an experiment where there is an arbitrary outcome that lies between certain bounds.

Extensions

IterableIntExtension
IterableNumExtension

Exceptions / Errors

InvalidProbability
Error of an invalid probability outside the range of 0.0 to 1.0.