Apache Commons logo Apache Commons Statistics

Apache Commons Statistics

Apache Commons Statistics provides utilities for statistical applications.

Support is provided for commonly used continuous and discrete distributions, for example:

TDistribution t = TDistribution.of(29);
double lowerTail = t.cumulativeProbability(-2.656);   // P(T(29) <= -2.656)
double upperTail = t.survivalProbability(2.75);       // P(T(29) > 2.75)

PoissonDistribution p = PoissonDistribution.of(4.56);
int x = p.inverseCumulativeProbability(0.99);

For more examples and advanced usage, see the userguide.

Download Apache Commons Statistics


Download the latest release of Apache Commons Statistics.