Probabilities.HypGeometricCDFInv Method

Overload List

#SignatureDescription
1void HypGeometricCDFInv(TDenseMtxVec P, Int32 M, Int32 K, Int32 N, TDenseMtxVec Res)HyperGeometric distribution PPF (vectorized).
2Double HypGeometricCDFInv(Double p, Int32 M, Int32 K, Int32 N)Hypergeometric distribution point percent function (PPF).

Overload 1: void HypGeometricCDFInv(TDenseMtxVec P, Int32 M, Int32 K, Int32 N, TDenseMtxVec Res)

HyperGeometric distribution PPF (vectorized).

#NameDescription
1PDefines distribution probabilities, real vector or matrix with values within closed interval [0,1].
2MDefines total number of elements, valid values ae integers on closed interval [0,X].
3KDefines number of elements with certain traits, valid values are integers on closed interval [X,M].
4NDefines number of samples, valid values are integers on closed interval [X,M].
5ResAfter calculation stores the PPF calculated from P, K, M and N. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of P.

Result: stored in self (calling object)

Overload 2: Double HypGeometricCDFInv(Double p, Int32 M, Int32 K, Int32 N)

Hypergeometric distribution point percent function (PPF).

#NameDescription
1pProbability, real positive value on closed interval [0,1].
2MDefines total number of elements, valid values ae integers on closed interval [0,X].
3KDefines number of elements with certain traits, valid values are integers on closed interval [X,M].
4NDefines number of samples, valid values are integers on closed interval [X,M].

Returns: Double - the hypergeometric distribution point percent function (PPF) for probability p using the integer parameters M (total number of elements), K (number of elements with a certain trait) and N (number of samples drawn).

Remarks:

The result is the least integer such that the hypergeometric CDF evaluated at result equals or exceeds p.

See Also: Probabilities.HypGeometricPDF, Probabilities.HypGeometricCDF