Dew MtxVec NET
BinomCDF Routines
Summary
Binomial cumulative distribution function (CDF).

Unit
Probabilities

Declaration
Function BinomCDF(x: Integer; n: integer; p: TSample): TSample;
Result
the binomial cumulative distribution function (CDF). The parameter n must be a positive integer and parameter p (probability) must lie on the interval [0,1].The binomial cumulative distribution function is defined by the following equation:

where q=1-p and I is the discrete interval [0,1,...n] on which the binomial CDF is not zero.
The result of BinomCDF is the probability of observing up to x successes in n independent trials and where the probability of success in any given trial is p.

Categories
Discrete probabilities
 See Also 
BinomPDF 
BinomCDFInv 

Declaration
Procedure BinomCDF(X: TDenseMtxVec; n: Integer; P: TSample; Res: TDenseMtxVec);

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

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