Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double HypGeometricCDFInv(double p, int M, int K, int N); | Hypergeometric distribution point percent function (PPF). |
| 2 | void HypGeometricCDFInv(TDenseMtxVec *P, int M, int K, int N, TDenseMtxVec *Res); | HyperGeometric distribution PPF (vectorized). |
Overload 1: double HypGeometricCDFInv(double p, int M, int K, int N);
Hypergeometric distribution point percent function (PPF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | p | double | Probability, real positive value on closed interval [0,1]. |
| 2 | M | int | Defines total number of elements, valid values ae integers on closed interval [0,X]. |
| 3 | K | int | Defines number of elements with certain traits, valid values are integers on closed interval [X,M]. |
| 4 | N | int | Defines number of samples, valid values are integers on closed interval [X,M]. |
Returns: 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.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void HypGeometricCDFInv(TDenseMtxVec *P, int M, int K, int N, TDenseMtxVec *Res);
HyperGeometric distribution PPF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | P | TDenseMtxVec * | Defines distribution probabilities, real vector or matrix with values within closed interval [0,1]. |
| 2 | M | int | Defines total number of elements, valid values ae integers on closed interval [0,X]. |
| 3 | K | int | Defines number of elements with certain traits, valid values are integers on closed interval [X,M]. |
| 4 | N | int | Defines number of samples, valid values are integers on closed interval [X,M]. |
| 5 | Res | TDenseMtxVec * | 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. |
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler