Distribution generators for the Chi-squared Equation:

dchisq(x, d) Returns the probability
density for value x.
pchisq(x, d) Returns the cumulative
probability distribution for value x.
qchisq(p, d) Returns the inverse
cumulative probability distribution for probability p.
rchisq(m, d) Returns a vector of
m random numbers having the chi-squared distribution.
Arguments:
- x is a scalar or vector
of real values greater than 0. To allow integration and other operations over this argument, values outside of the stated range are allowed, but they produce a 0 result.
- d is an integer degree of
freedom greater than 0.
- p is a real probability between
0 and 1.
- m is an integer greater
than 0.
Notes:
- For definitions of the functions, and information on generating random numbers,
see the Density and Distribution definitions.
- While the distribution equation is meant to be formulated for integer degrees
of freedom, Mathcad allows real values.