Assessment |
Biopsychology |
Comparative |
Cognitive |
Developmental |
Language |
Individual differences |
Personality |
Philosophy |
Social |
Methods |
Statistics |
Clinical |
Educational |
Industrial |
Professional items |
World psychology |
Statistics: Scientific method · Research methods · Experimental design · Undergraduate statistics courses · Statistical tests · Game theory · Decision theory
- The title of this article should be chi-square distribution or χ2 distribution. The initial letter is capitalized due to technical restrictions.
Probability density function | |
Cumulative distribution function | |
Parameters | degrees of freedom |
Support | |
cdf | |
Mean | |
Median | approximately |
Mode | if |
Variance | |
Skewness | |
Kurtosis | |
Entropy | |
mgf | for |
Char. func. |
In probability theory and statistics, the chi-square distribution (also chi-squared distribution), or χ2 distribution, is one of the theoretical probability distributions most widely used in inferential statistics, i.e. in statistical significance tests. It is useful because, under reasonable assumptions, easily calculated quantities can be proved to have distributions that approximate to the chi-square distribution if the null hypothesis is true.
If are k independent, normally distributed random variables with means and variances , then the statistic
is distributed according to the chi-square distribution. This is usually written
The chi-square distribution has one parameter: - a positive integer which specifies the number of degrees of freedom (i.e. the number of )
The chi-square distribution is a special case of the gamma distribution.
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. However many other statistical tests lead to a use of this distribution, for example Friedman's analysis of variance by ranks.
Properties[]
The chi-square probability density function is
where and for . Here denotes the Gamma function. The cumulative distribution function is:
where is the incomplete Gamma function.
Tables of this distribution — usually in its cumulative form — are widely available (see the External links below for online versions), and the function is included in many spreadsheets (for example OpenOffice.org calc or Microsoft Excel) and all statistical packages.
If independent linear homogeneous constraints are imposed on these variables, the distribution of conditional on these constraints is , justifying the term "degrees of freedom". The characteristic function of the Chi-square distribution is
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.
The normal approximation[]
If , then as tends to infinity, the distribution of tends to normality. However, the tendency is slow (the skewness is and the kurtosis is ) and two transformations are commonly considered, each of which approaches normality faster than itself:
Fisher showed that is approximately normally distributed with mean and unit variance.
Wilson and Hilferty showed in 1931 that is approximately normally distributed with mean and variance .
The expected value of a random variable having chi-square distribution with degrees of freedom is and the variance is . The median is given approximately by
Note that 2 degrees of freedom leads to an exponential distribution.
The information entropy is given by:
where is the Digamma function.
Related distributions[]
- is an exponential distribution if (with 2 degrees of freedom).
- is a chi-square distribution if for independent that are normally distributed. If the have nonzero means, then is drawn from a noncentral chi-square distribution.
- is an F-distribution if where and are independent with their respective degrees of freedom.
- is a chi-square distribution if where are independent and .
- if is chi-square distributed, then is chi distributed.
Name | Statistic |
---|---|
chi-square distribution | |
noncentral chi-square distribution | |
chi distribution | |
noncentral chi distribution |
See also[]
- Cochran's theorem
- Inverse-chi-square distribution
External links[]
- Overview of Chi-Square Test
- On-line calculator for the significance of chi-square, in Richard Lowry's statistical website at Vassar College.
- Distribution Calculator Calculates probabilities and critical values for normal, t-, chi2- and F-distribution
This page uses Creative Commons Licensed content from Wikipedia (view authors). |