Example usage for Java org.apache.commons.math3.distribution HypergeometricDistribution fields, constructors, methods, implement or subclass
The text is from its open source code.
HypergeometricDistribution(int populationSize, int numberOfSuccesses, int sampleSize) Construct a new hypergeometric distribution with the specified population size, number of successes in the population, and sample size. | |
HypergeometricDistribution(RandomGenerator rng, int populationSize, int numberOfSuccesses, int sampleSize) Creates a new hypergeometric distribution. |
double | cumulativeProbability(int x) |
double | probability(int x) |
double | upperCumulativeProbability(int x) For this distribution, X , this method returns P(X >= x) . |