Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure BinomCDFInv(const Y: TDenseMtxVec; n: Integer; P: Double; const Res: TDenseMtxVec); | Binomial PPF (vectorized). |
| 2 | function BinomCDFInv(y: Double; N: Integer; p: Double): Double; | Binomial distribution point percent function (PPF). |
Overload 1: procedure BinomCDFInv(const Y: TDenseMtxVec; n: Integer; P: Double; const Res: TDenseMtxVec);
Binomial PPF (vectorized).
| # | Name | Description |
|---|---|---|
| 1 | Y | Defines distribution probabilities, real vector or matrix with values within closed interval [0,1]. |
| 2 | n | Defines number of trials. n must be a positive integer. |
| 3 | P | Defines success probability. p must lie on the [0,1] closed interval. |
| 4 | Res | 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. |
Result: stored in self (calling object)
Overload 2: function BinomCDFInv(y: Double; N: Integer; p: Double): Double;
Binomial distribution point percent function (PPF).
| # | Name | Description |
|---|---|---|
| 1 | y | Probability, real positive value on closed interval [0,1]. |
| 2 | N | Defines number of trials. n must be a positive integer. |
| 3 | p | Defines success probability. p must lie on the [0,1] closed interval. |
Returns: Double - 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.