ChiSquared Command

ChiSquared( <Degrees of Freedom>, <Variable Value> )

Calculates the value of the cumulative distribution function of a Chi squared distribution at variable value v, i.e. the probability P(X ≤ v) where X is a random variable with a Chi squared distribution with the given degrees of freedom.

ChiSquared(4, 3) yields \(\gamma\left(2, \frac{3}{2}\right)\), which is approximately 0.44.

This syntax returns the probability at a given x-coordinate’s value, that is the area under the Chi squared distribution curve to the left of the given x-coordinate.

ChiSquared( <Degrees of Freedom>, <Variable Value>, <Boolean Cumulative> )

If Cumulative = true, calculates the value of the cumulative distribution function of a Chi squared distribution with given degrees of freedom at the given variable value, otherwise it calculates the probability density function of the distribution at variable value.

ChiSquared( <Degrees of Freedom>, x, <Boolean Cumulative> )

If Cumulative = true, creates the cumulative density function (cdf) of a Chi squared distribution with the given degrees of freedom, othewise it creates the probability density function (pdf) of the distribution.