Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double BinomCDFInv(double y, int N, double p); | Binomial distribution point percent function (PPF). |
| 2 | void BinomCDFInv(TDenseMtxVec *Y, int n, double P, TDenseMtxVec *Res); | Binomial PPF (vectorized). |
Overload 1: double BinomCDFInv(double y, int N, double p);
Binomial distribution point percent function (PPF).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | y | double | Probability, real positive value on closed interval [0,1]. |
| 2 | N | int | Defines number of trials. n must be a positive integer. |
| 3 | p | double | Defines success probability. p must lie on the [0,1] closed interval. |
Returns: the binomial distribution point percent function (PPF).
Remarks:
The result of BinomCDFInv is the smallest integer such that the binomial cdf evaluated at the result is equal to or exceeds y. The y is the probability of observing result successes in n independent trials where p is the probability of success in each trial.
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler
Overload 2: void BinomCDFInv(TDenseMtxVec *Y, int n, double P, TDenseMtxVec *Res);
Binomial PPF (vectorized).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | TDenseMtxVec * | Defines distribution probabilities, real vector or matrix with values within closed interval [0,1]. |
| 2 | n | int | Defines number of trials. n must be a positive integer. |
| 3 | P | double | Defines success probability. p must lie on the [0,1] closed interval. |
| 4 | Res | TDenseMtxVec * | After calculation stores the PPF calculated from Y, n and p. Length and Complex properties of Res are adjusted automatically to match Length and Complex properties of X. |
Declared in Dew::Math::Units::Probabilities · Dew.Math/Units.Probabilities.h · Cross-compiler