Probabilities.HypGeometricCDFInv Method

Overload List

#SignatureDescription
1procedure HypGeometricCDFInv(const P: TDenseMtxVec; M: Integer; K: Integer; N: Integer; const Res: TDenseMtxVec);HyperGeometric distribution PPF (vectorized).
2function HypGeometricCDFInv(p: Double; M: Integer; K: Integer; N: Integer): Double;Hypergeometric distribution point percent function (PPF).

Overload 1: procedure HypGeometricCDFInv(const P: TDenseMtxVec; M: Integer; K: Integer; N: Integer; const Res: TDenseMtxVec);

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: function HypGeometricCDFInv(p: Double; M: Integer; K: Integer; N: Integer): Double;

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