- Chi-square distribution
Probability distribution
name =chi-square
type =density
pdf_
cdf_
parameters = degrees of freedom
support =
pdf ={Gamma(k/2)} x^{k/2 - 1} e^{-x/2},
cdf =
mean =
median =approximately
mode = if
variance =
skewness =
kurtosis =
entropy =
mgf = for
char =In
probability theory andstatistics , the chi-square distribution (also chi-squared or distribution) is one of the most widely usedtheoretical probability distribution s ininferential statistics , e.g., instatistical significance tests.Abramowitz_Stegun_ref|26|940] [NIST (2006). [http://www.itl.nist.gov/div898/handbook/eda/section3/eda3666.htm Engineering Statistics Handbook - Chi-Square Distribution] ] [cite book
last = Jonhson
first = N.L.
coauthors = S. Kotz, , N. Balakrishnan
title = Continuous Univariate Distributions (Second Ed., Vol. 1, Chapter 18)
publisher = John Willey and Sons
date = 1994
isbn = 0-471-58495-9] [cite book
last = Mood
first = Alexander
coauthors = Franklin A. Graybill, Duane C. Boes
title = Introduction to the Theory of Statistics (Third Edition, p. 241-246)
publisher = McGraw-Hill
date = 1974
isbn = 0-07-042864-6] It is useful because, under reasonable assumptions, easily calculated quantities can be proven to have distributions that approximate to the chi-square distribution if thenull hypothesis is true.The best-known situations in which the chi-square distribution are used are the common
chi-square test s forgoodness 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.Definition
If are "k" independent, normally distributed random variables with
mean 0 andvariance 1, then the random variable:
is distributed according to the chi-square distribution with degrees of freedom. This is usually written
:
The chi-square distribution has one parameter: - a positive integer that specifies the number of degrees of freedom (i.e. the number of )
The chi-square distribution is a special case of the gamma distribution.
Characteristics
Probability density function
A
probability density function of the chi-square distribution is:
where denotes the
Gamma function , which has closed-form values at the half-integers.Cumulative distribution function
Its
cumulative distribution function is::
where is the lower incomplete Gamma function and is the
regularized Gamma function .Tables of this distribution — usually in its cumulative form — are widely available and the function is included in many
spreadsheet s and all statistical packages.Characteristic function
The characteristic function of the Chi-square distribution is
:
Expected value and variance
If then: :
Median
The median of is given approximately by
:
Information entropy
The
information entropy is given by:
where is the
Digamma function .Related distributions and properties
The chi-square distribution has numerous applications in inferential
statistics , for instance in chi-square tests and in estimatingvariance s.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 inStudent's t-distribution .It enters allanalysis of variance problems via its role in theF-distribution , which is the distribution of the ratio of two independent chi-squaredrandom variable s divided by their respective degrees of freedom.*If , then as tends to infinity, the distribution of tends to a normal distribution with mean and variance (convergence is slow as the skewness is and the excess kurtosis is )
*If then is approximately normally distributed with mean and unit variance (result credited toR. A. Fisher ).
* If then is approximately normally distributed with mean and variance (Wilson and Hilferty,1931)
* is anexponential distribution if (with 2 degrees of freedom).
* is a chi-square distribution if for independent that are normally distributed.
*If , where the s are independent random variables or and is anidempotent matrix with rank then thequadratic form .
*If the have nonzero means, then is drawn from anoncentral chi-square distribution .
*The chi-square distribution is a special case of thegamma distribution , in that .
* is anF-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.
*in particular, if (chi-square with 2 degrees of freedom), then is Rayleigh distributed.
*if are i.i.d.random variable s, then where .
*if , then
*The box below shows probability distributions with name starting with chi for some statistics based on independent random variables:ee also
*
Cochran's theorem
*Inverse-chi-square distribution
*Degrees of freedom (statistics)
*Fisher's method for combining independent tests ofsignificance
*Noncentral chi-square distribution
*Normal distribution
*Normalised Innovation Squared External links
* [http://www.stat.yale.edu/Courses/1997-98/101/chigf.htm Course notes on Chi-Square Goodness of Fit Testing] from
Yale University Stats 101 class. Example includes hypothesis testing and parameter estimation.
* [http://faculty.vassar.edu/lowry/tabs.html#csq On-line calculator for the significance of chi-square] , in Richard Lowry's statistical website atVassar College .
* [http://www.vias.org/simulations/simusoft_distcalc.html Distribution Calculator] Calculates probabilities and critical values for normal, t-, chi2- and F-distribution
* [http://www.stat.sc.edu/~west/applets/chisqdemo.html Chi-Square Calculator for critical values of Chi-Square] in R. Webster West's applet website at University of South Carolina
* [http://graphpad.com/quickcalcs/chisquared2.cfm Chi-Square Calculator from GraphPad]
* [http://www.medcalc.be/manual/chi-square-table.php Table of Chi-squared distribution]References
Wikimedia Foundation. 2010.