Chi-squared distribution
| Chi-squared | |||
|---|---|---|---|
| Probability density function | |||
| Cumulative distribution function | |||
| Notation | or | ||
| Parameters | (known as "degrees of freedom") | ||
| Support | |||
| CDF | |||
| Mean | |||
| Median | |||
| Mode | |||
| Variance | |||
| Skewness | |||
| Excess kurtosis | |||
| Entropy | |||
| MGF | |||
| CF | |||
| PGF | |||
In probability theory and statistics, the -distribution with degrees of freedom is the distribution of a sum of the squares of independent standard normal random variables.
The chi-squared distribution is a special case of the gamma distribution and the univariate Wishart distribution. Specifically if then (where is the shape parameter and the scale parameter of the gamma distribution) and .
The scaled chi-squared distribution is a reparametrization of the gamma distribution and the univariate Wishart distribution. Specifically if then and .
The chi-squared distribution is one of the most widely used probability distributions in inferential statistics, notably in hypothesis testing and in construction of confidence intervals. This distribution is sometimes called the central chi-squared distribution, a special case of the more general noncentral chi-squared distribution.
The chi-squared distribution is used in the common chi-squared tests for goodness of fit of an observed distribution to a theoretical one, the independence of two criteria of classification of qualitative data, and in finding the confidence interval for estimating the population standard deviation of a normal distribution from a sample standard deviation. Many other statistical tests also use this distribution, such as Friedman's analysis of variance by ranks.