Inline videos. See also:Category: Articles with embedded Videos..

Chi-square distribution

From Biocrawler, the free encyclopedia.

The title of this article is incorrect because of technical limitations. The correct title is chi-square distribution.
chi-square
Probability density function
Cumulative distribution function
Parameters k > 0\, degrees of freedom
Support x \in [0; +\infty)\,
pdf \frac{(1/2)^{k/2}}{\Gamma(k/2)} x^{k/2 - 1} e^{-x/2}\,
cdf \frac{\gamma(k/2,x/2)}{\Gamma(k/2)}\,
Mean k\,
Median approximately k-2/3\,
Mode k-2\, if k\geq 2\,
Variance 2\,k\,
Skewness \sqrt{8/k}\,
Kurtosis 12/k\,
Entropy \frac{k}{2}\!+\!\ln(2\Gamma(k/2))\!+\!(1\!-\!k/2)\psi(k/2)
mgf (1-2\,t)^{-k/2} for 2\,t<1\,
Char. func. (1-2\,i\,t)^{-k/2}\,

For any positive integer k, the chi-square distribution with k degrees of freedom is the probability distribution of the random variable

X=Z_1^2 + \cdots + Z_k^2

where the Zi are independent standard normal variables (zero expected value and unit variance). This distribution is usually written

X\sim\chi^2_k

The chi-square test can be used to test independence as well as goodness of fit.

An example of a test of independence would be if sex and political affiliation are connected. So you would gather your sample, your expected value, find your critical value, and if the chi-square test is greater than the critical value, you can reject the null, otherwise, you fail to reject the null. (you never accept the null)

The chi-square probability density function is

f_k(x)= \frac{(1/2)^{k/2}}{\Gamma(k/2)} x^{k/2 - 1} e^{-x/2}

where x \ge 0 and fk(x) = 0 for x \le 0. Here Γ denotes the Gamma function. The cumulative distribution function is:

F_k(x)=\frac{\gamma(k/2,x/2)}{\Gamma(k/2)}\,

where γ(k,z) 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 p independent linear homogeneous constraints are imposed on these variables, the distribution of X conditional on these constraints is \chi^2_{k-p}, justifying the term "degrees of freedom". The characteristic function of the Chi-square distribution is

\phi(t)=(1-2it)^{-k/2}\,

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.

Contents

1 Related distributions
2 See also
3 External links

The normal approximation

If X\sim\chi^2_k, then as k tends to infinity, the distribution of X tends to normality. However, the tendency is slow (the skewness is \sqrt{8/k} and the kurtosis is 12 / k) and two transformations are commonly considered, each of which approaches normality faster than X itself:

Fisher showed that \sqrt{2X} is approximately normally distributed with mean \sqrt{2k-1} and unit variance.

Wilson and Hilferty showed in 1931 that \sqrt[3]{X/k} is approximately normally distributed with mean 1 − 2 / (9k) and variance 2 / (9k).

The expected value of a random variable having chi-square distribution with k degrees of freedom is k and the variance is 2k. The median is given approximately by

k-\frac{2}{3}+\frac{4}{27k}-\frac{8}{729k^2}

Note that 2 degrees of freedom leads to an exponential distribution.

The chi-square distribution is a special case of the gamma distribution.

The information entropy is given by:

H = \int_{-\infty}^\infty f(x)\ln(f(x)) dx = \frac{k}{2} + \ln  \left(   2 \Gamma   \left(    \frac{k}{2}   \right)  \right) + \left(1 - \frac{k}{2}\right) \psi(k/2)

where ψ(x) is the Digamma function.

Related distributions

See also

External links

fr:Loi du χ² it:Variabile casuale chi quadro nl:Chi-kwadraatverdeling sv:Chitvĺfördelning

Wikipedia (http://en.wikipedia.org/wiki/Main_Page) Chi-square_distribution (http://en.wikipedia.org/wiki/Chi-square_distribution) version history (http://en.wikipedia.org/w/index.php?title=Chi-square_distribution&action=history) GNU Free Documentation Lizenz (http://en.wikipedia.org/wiki/Wikipedia:Text_of_the_GNU_Free_Documentation_License) CC-by-sa (http://creativecommons.org/licenses/by-sa/2.5/)

Personal tools
Google Search
Google
Web
biocrawler.com

 
In other languages