Summary
Chi-squared cumulative distribution Function (CDF).
Unit
Probabilities
Declaration
Procedure ChiSquareCDF(X: TDenseMtxVec; Nu: Integer; Res: TDenseMtxVec);
Description
Calculates the Chi-Squared CDF for vector X using the parameter Nu. 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 ChiSquareCDF(x: TSample; Nu: Integer): TSample;
Result
the chi-squared cumulative distribution Function (CDF). The parameter Nu (degrees of freedom) must be a positive integer, otherwise the result is NAN. The chi-squared cumulative distribution function is defined by the following equation:

where n (Nu) is the degrees of freedom and G is gamma function.
The result of ChiSquareCDF is the probability that a single observation from the chi-squared distribution with Nu degrees of freedom will fall in the interval [0,x].
Categories
Continuous probabilities| Copyright 2008 Dew Research |
http://www.dewresearch.com