Summary
Negative binomial cumulative distribution function (CDF).
Unit
Probabilities
Declaration
Function NegBinomCDF(x: Integer; R: TSample; P: TSample): TSample;
Result
the negative binomial cumulative distribution function (CDF) for value x using the parameters R (number of success) and p (probability of success). Probability p must lie on the interval [0,1], x must be greater or equal than zero and R must be greater or equal than one, otherwise the result is NAN. The negative binomial cumulative distribution function is defined by the following equation:

where I is the interval on which the negative binomial cumulative distribution function is not zero.
Categories
Discrete probabilities
Declaration
Procedure NegBinomCDF(X: TDenseMtxVec; R: TSample; P: TSample; Res: TDenseMtxVec);
Description
Calculates the Negative binomial CDF for vector X using the parameters P and R. 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