Probabilities.BinomCDFInv Method

Overload List

#SignatureDescription
1procedure BinomCDFInv(const Y: TDenseMtxVec; n: Integer; P: Double; const Res: TDenseMtxVec);Binomial PPF (vectorized).
2function 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).

#NameDescription
1YDefines distribution probabilities, real vector or matrix with values within closed interval [0,1].
2nDefines number of trials. n must be a positive integer.
3PDefines success probability. p must lie on the [0,1] closed interval.
4ResAfter 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).

#NameDescription
1yProbability, real positive value on closed interval [0,1].
2NDefines number of trials. n must be a positive integer.
3pDefines 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.

See Also: Probabilities.BinomPDF, Probabilities.BinomCDF, Probabilities.BernoulliCDFInv