Dew MtxVec NET
BinomCDFInv Routines
Summary
Binomial distribution point percent function (PPF).

Unit
Probabilities

Declaration
Function BinomCDFInv(y: TSample; n: integer; p: TSample): TSample;
Result
the binomial distribution point percent function (PPF). The parameter n must be a positive integer and parameter p (probability) must lie on the interval [0,1]. 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.
Categories
Discrete probabilities
 See Also 
BinomPDF 
BinomCDF 

Declaration
Procedure BinomCDFInv(Y: TDenseMtxVec; n: integer; P: TSample; Res: TDenseMtxVec);

Description
Calculates the inverse binomial CDF for probability vector Y using the parameter n. The results are stored in vector Res. The Res Length and Complex properties are adjusted automatically. If vector Y is complex, an exception is raised.

Copyright 2008 Dew Research
http://www.dewresearch.com