Chi-square Distribution

These functions give you access to the chi-square distribution. For more information about Fathom's distribution functions, click here.

 

chiSquareDensity(x, df, scale, min)

chiSquareCumulative(x, df, scale, min)

chiSquareQuantile(x, df, scale, min)

 df = degrees of freedom
scale
= the spread of the distribution
min
= the minimum statistic

The density, cumulative, and quantile functions for the chi-square distribution.

The df parameter is required and must be >= 1. The scale parameter accounts for multiplicative scaling of the statistic, maintaining the unit area under the density curve. The min parameter simply translates the density function.

defaults: scale = 1, min = 0. Most uses never need to change these.

You may also draw random values from this distribution: 

randomChiSquare(df, scale, min)

A random chi-square value

 

These plots show how the df parameter controls the shape of the curve.

See also statistical functions (for mean( ) and its cousins).