Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void HypGeometricCDFInv(TDenseMtxVec P, Int32 M, Int32 K, Int32 N, TDenseMtxVec Res) | HyperGeometric distribution PPF (vectorized). |
| 2 | Double 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).
| # | Name | Description |
|---|---|---|
| 1 | P | Defines distribution probabilities, real vector or matrix with values within closed interval [0,1]. |
| 2 | M | Defines total number of elements, valid values ae integers on closed interval [0,X]. |
| 3 | K | Defines number of elements with certain traits, valid values are integers on closed interval [X,M]. |
| 4 | N | Defines number of samples, valid values are integers on closed interval [X,M]. |
| 5 | Res | After 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).
| # | Name | Description |
|---|---|---|
| 1 | p | Probability, real positive value on closed interval [0,1]. |
| 2 | M | Defines total number of elements, valid values ae integers on closed interval [0,X]. |
| 3 | K | Defines number of elements with certain traits, valid values are integers on closed interval [X,M]. |
| 4 | N | Defines 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.