Probabilities::BinomCDFInv Function

Overload List

#SignatureDescription
1double BinomCDFInv(double y, int N, double p);Binomial distribution point percent function (PPF).
2void 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).

#NameTypeDescription
1ydoubleProbability, real positive value on closed interval [0,1].
2NintDefines number of trials. n must be a positive integer.
3pdoubleDefines 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.

See Also: Probabilities::BinomPDF, Probabilities::BinomCDF, Probabilities::BernoulliCDFInv
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).

#NameTypeDescription
1YTDenseMtxVec *Defines distribution probabilities, real vector or matrix with values within closed interval [0,1].
2nintDefines number of trials. n must be a positive integer.
3PdoubleDefines success probability. p must lie on the [0,1] closed interval.
4ResTDenseMtxVec *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