Algorithms used to calculate hypergeometric distribution.
Computes the hypergeometric probability mass function (PMF) with extended floating point types (e.g. Fp!128), which provides additional accuracy for large values of k, N, K, or n.
Computes the hypergeometric complementary cumulative distribution function (CCDF).
Computes the hypergeometric cumulative distribution function (CDF).
Computes the hypergeometric inverse cumulative distribution function (InvCDF).
Computes the hypergeometric log probability mass function (LPMF).
Computes the hypergeometric probability mass function (PMF).
Computes the hypergeometric complementary cumulative distribution function (CCDF).
Computes the hypergeometric cumulative distribution function (CDF).
Computes the hypergeometric inverse cumulative distribution function (InvCDF).
Computes the hypergeometric probability mass function (PMF).
This module contains algorithms for the Hypergeometric Distribution.
There are multiple alternative parameterizations of the Hypergeometric Distribution. The formulation in this module measures the number of draws (k) with a specific feature in n total draws without replacement from a population of size N such that K of these have the feature of interest.
Hypergeometric distribution functions can utilize different algorithms. The default is HypergeometricAlgo.direct, which 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.