HTBasic Help
×
Menu
Index

Q_chi2

Complementary probability integral for Cauchy distribution.
 
Loading        LOADSUB ALL FROM "IGAMMA.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                INTEGER N
REAL X,Y
Y=FNQ_chi2(N,X)
 
Description                
FNQ_chi2 returns the value of the complementary probability integral of the univariate chi-squared (χ²) probability density function with parameter n. This integral, Q(x;n), is defined by the expression
X is often written as χ²; among other uses, this notation emphasizes the fact that this integral is only less than one for values of x 0. Although Q is sometimes defined for n < 0, most implementations, including this one, restrict Q to being defined for n 0.
 
 Q(x;n)
Errors
FNQ_chi2 causes an HTBasic error if its arguments are not of the types listed in the USAGE section, above, or if n is negative.
 
See Also
F_chi2, P_chi2