(statistics) The distribution of the sum of the squares of a set of variables, each of which has a normal distribution and is expressed in standardized units.
| Sci-Tech Dictionary: chi-square distribution |
(statistics) The distribution of the sum of the squares of a set of variables, each of which has a normal distribution and is expressed in standardized units.
| 5min Related Video: Chi-square distribution |
| Veterinary Dictionary: chi-square distribution |
In statistical terms this is said of a variable with K degrees of freedom if it is distributed like the sum of the squares of K independent random variables each of which has a normal distribution with mean zero and variance of 1.
| Wikipedia: Chi-square distribution |
| Probability density function |
|
| Cumulative distribution function |
|
| parameters: | degrees of freedom |
|---|---|
| support: | ![]() |
| pdf: | ![]() |
| cdf: | ![]() |
| mean: | ![]() |
| median: | approximately ![]() |
| mode: | if ![]() |
| variance: | ![]() |
| skewness: | ![]() |
| kurtosis: | ![]() |
| entropy: | ![]() |
| mgf: | for ![]() |
| cf: | [1] |
In probability theory and statistics, the chi-square distribution (also chi-squared or χ2-distribution) is one of the most widely used theoretical probability distributions in inferential statistics, e.g., in statistical significance tests.[2][3][4][5] A random variable is said to have a chi-square distribution if it equals the sum of the squares of a set of statistically independent standard Gaussian random variables.
The best-known situations in which the chi-square distribution is used are the common chi-square tests for goodness of fit of an observed distribution to a theoretical one, and of the independence of two criteria of classification of qualitative data. Many other statistical tests also lead to a use of this distribution, like Friedman's analysis of variance by ranks.
Contents |
If X1,...,Xk are k independent, normally distributed random variables with mean 0 and variance 1, then the random variable

is distributed according to the chi-square distribution with k degrees of freedom. This is usually written

The chi-square distribution has one parameter: k - a positive integer that specifies the number of degrees of freedom (i.e. the number of Xis)
The chi-square distribution is a special case of the gamma distribution.
Further properties of the chi-square distribution can be found in the box at right.
A probability density function of the chi-square distribution is

where Γ denotes the Gamma function, which has closed-form values at the half-integers.
For derivations of the pdf in the cases of one and two degrees of freedom, see Proofs related to chi-square distribution.
Its cumulative distribution function is:

where γ(k,z) is the lower incomplete Gamma function and P(k,z) is the regularized Gamma function.
Tables of this distribution — usually in its cumulative form — are widely available and the function is included in many spreadsheets and all statistical packages.
It follows from the definition of the chi-square distribution that the sum of independent chi-square variables is also chi-square distributed. Specifically, if
are independent chi-square variables with
degrees of freedom, respectively, then
is chi-square distributed with
degrees of freedom.
The information entropy is given by

where ψ(x) is the Digamma function.
The moments about zero of a chi-square distribution with k degrees of freedom are given by[6][7]

The cumulants are readily obtained by a (formal) power series expansion of the logarithm of the characteristic function:

By the central limit theorem, because the chi-square distribution is the sum of k independent random variables, it converges to a normal distribution for large k (k > 50 is "approximately normal" according to [8]). Specifically, if
, then as k tends to infinity, the distribution of
tends to a standard normal distribution. However, convergence is slow as the skewness is
and the excess kurtosis is 12 / k.
Other functions of the chi-square distribution converge more rapidly to a normal distribution. Some examples are:
then
is approximately normally distributed with mean
and unit variance (result credited to R. A. Fisher).
then
is approximately normally distributed with mean 1 − 2 / (9k) and variance 2 / (9k) (Wilson and Hilferty,1931)A chi-square variable with k degrees of freedom is defined as the sum of the squares of k independent standard normal random variables.
More generally, the chi-square distribution is related to any Gaussian random vector of length k as follows. If Y is a Gaussian random vector having mean vector μ and covariance matrix C, then X = (Y − μ)TC − 1(Y − μ) is chi-square distributed with k degrees of freedom. This is because the subtraction of μ and the multiplication by C − 1 / 2 effectively transforms the Gaussian vector to an i.i.d., zero-mean distribution.
The sum of squares of statistically independent unit-variance Gaussian variables which do not have mean zero yields a generalization of the chi-square distribution called the noncentral chi-square distribution.
If Y is a vector of k i.i.d. standard normal random variables and A is a
idempotent matrix with rank k − n then the quadratic form YTAY is chi-square distributed with k − n degrees of freedom.
The chi-square distribution is also naturally related to other distributions arising from the Gaussian. In particular,
if
where
and
are statistically independent.
is chi distributed.The chi-square distribution is obtained from the sum of k independent, zero-mean, unit-variance Gaussian random variables. Generalizations of this distribution can be obtained by summing the squares of other types of Gaussian random variables. Several such distributions are described below.
The noncentral chi-square distribution is obtained from the sum of the squares of independent Gaussian random variables having unit variance and nonzero means.
The generalized chi-square distribution is obtained from the quadratic form zTAz, where z is a zero-mean Gaussian vector having an arbitrary covariance matrix, and A is an arbitrary matrix.
The chi-square distribution
is a special case of the gamma distribution, in that 
Because the exponential distribution is also a special case of the Gamma distribution, we also have that if
(with 2 degrees of freedom), then
is an exponential distribution.
The Erlang distribution is also a special case of the Gamma distribution and thus we also have that if
with even k, then X is Erlang distributed with shape parameter k / 2 and scale parameter 1/2.
If Zi are k independent, complex Gaussian random variables with mean 0 and variance
, then the random variable

is a type of generalized chi-square distribution. The differences from the standard chi-square distribution is that Zi are complex and can have different variances. If
for all i, then
becomes a
scaled by μ / 2, also known as the Erlang distribution. If
have distinct values for all i, then
has the pdf[9]

If there are sets of repeated variances among
, assume that they are divided into M sets, each representing a certain variance value. Denote
to be the number of repetitions in each group. I.e., the mth set contains rm variables that have variance
. it represents an arbitrary linear combination of χ2 random variables with different degree of freedoms:

The pdf of
becomes[10]

where

with
from the set Ωk,l of all partitions of l − 1 (with ik = 0) defined as
![\Omega_{k,l} = \Big\{ [i_1,\ldots,i_m]\in \mathbb{Z}^m;
\sum_{j=1}^M i_j \!= l-1, i_k=0, i_j\geq 0 \,\, \forall j
\Big\}.](http://wpcontent.answers.com/math/c/5/2/c5203bfb5dcd888c892bfbe29b682f3d.png)
The chi-square distribution has numerous applications in inferential statistics, for instance in chi-square tests and in estimating variances. It enters the problem of estimating the mean of a normally distributed population and the problem of estimating the slope of a regression line via its role in Student's t-distribution. It enters all analysis of variance problems via its role in the F-distribution, which is the distribution of the ratio of two independent chi-squared random variables divided by their respective degrees of freedom.
Following are some of the most common situations in which the chi-square distribution arises from a Gaussian-distributed sample.
are i.i.d. N(μ,σ2) random variables, then
where
.
independent random variables:| Name | Statistic |
|---|---|
| chi-square distribution | ![]() |
| noncentral chi-square distribution | ![]() |
| chi distribution | ![]() |
| noncentral chi distribution | ![]() |
|
|||||||||||
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| Best of the Web: Chi-square distribution |
Some good "Chi-square distribution" pages on the web:
Math mathworld.wolfram.com |
| noncentral F distribution (statistics) | |
| chi-square statistic (statistics) | |
| Poisson index of dispersion (statistics) |
| What is the relation between chi square distribution and f distribution? Read answer... | |
| Does Chi-square distribution becomes more skewed as the degrees of freedom increase? Read answer... | |
| What is difference between chi square and reduced chi square? Read answer... |
| Compaire and contrast the normal distribution and the chi-square distribution? | |
| What is the posterior distribution when sampling from a poisson distribution with a chi square prior? | |
| You required the properties of chi square distribution? |
Copyrights:
![]() | Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved. Read more | |
![]() | Veterinary Dictionary. Saunders Comprehensive Veterinary Dictionary 3rd Edition. Copyright © 2007 by D.C. Blood, V.P. Studdert and C.C. Gay, Elsevier. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Chi-square distribution". Read more |
Mentioned in