Dew MtxVec NET
GeometricCDF Routines
Summary
Geometric cumulative distribution function (CDF).

Unit
Probabilities

Declaration
Procedure GeometricCDF(X: TDenseMtxVec; p: TSample; Res: TDenseMtxVec);

Description
Calculates the Geometric CDF for vector X using the parameter p. 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.
Declaration
Function GeometricCDF(x: Integer; p: TSample): TSample;
Result
the geometric cumulative distribution function (CDF) for value x by using parameter p (probability). Probability p must lie on the interval [0,1] and x must be greater or equal than zero, otherwise the result is NAN. The geometric cumulative distribution function is defined by the following equation:

The result of GeometricCDF is the probability of observing up to x trials before a success, when the probability of success in any given trial is p.
Categories
Discrete probabilities
 See Also 
GeometricPDF 
GeometricCDFInv 

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