Directory

Encyclopedia

NodeWorks
                              ENCYCLOPEDIA

Link Checker

Home
Encyclopedia : C : CH : CHI :

Chi-square distribution

 

Chi-square distribution


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

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

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

and for .
Here denotes the 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.

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 k degrees of freedom is k and the variance is 2k. The median is given approximately by

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:

where is the Digamma function.

See also

  • Cochran's theorem
  • Inverse-chi-square distribution

    External links

  • 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



  • NodeWorks boosts web surfing!
    Page Returned in 0.337 seconds - HTML Compressed 70.4%

    This article is from Wikipedia. All text is available
    under the terms of the GNU Free Documentation License.
     GNU Free Documentation License
    © 2008 Chamas Enterprises Inc.