The OpenD Programming Language

HypergeometricAlgo

Algorithms used to calculate hypergeometric distribution.

HypergeometricAlgo.direct can be more time-consuming for large values of the parameters. Additional algorithms are provided to the user to choose the trade-off between running time and accuracy.

Values

ValueMeaning
direct

Direct

approxBinomial

Approximates hypergeometric distribution with binomial distribution.

approxPoisson

Approximates hypergeometric distribution with poisson distribution (uses gamma approximation, except for inverse CDF).

approxNormal

Approximates hypergeometric distribution with normal distribution.

approxNormalContinuityCorrection

Approximates hypergeometric distribution with normal distribution (including continuity correction).

Meta