<<Up     Contents

Pearson's chi-square test

Redirected from Pearson's chi-squared test

Pearson's chi-square test2) is one of a variety of chi-square testsstatistical procedures whose results are evaluated by reference to the chi-square distribution. It tests a null hypothesis that the relative frequencies of occurrence of observed events follow a specified frequency distribution. The events must be mutually exclusive and each must occur at least once each time a specified experiment is performed. One of the simplest examples is the hypothesis that an ordinary six-sided die is "fair", i.e., all six outcomes occur equally often. Chi-square is calculated by finding the difference between each observed and theoretical frequency, squaring them, dividing each by the theoretical frequency, and taking the sum of the results:

<math> \chi^2 = \sum {(O - E)^2 \over E}</math>

where:

O = an observed frequency
E = an expected (theoretical) frequency, asserted by the null hypothesis

For example, to test the hypothesis that a random sample of 100 people has been drawn from a population in which men and women are equal in frequency, the observed number of men and women would be compared to the theoretical frequencies of 50 men and 50 women. If there were 45 men in the sample and 55 women:

<math> \chi^2 = {(45 - 50)^2 \over 50} + {(55 - 50)^2 \over 50} = 1</math>

There is one degree of freedom in the comparison (since either difference between observed and expected frequencies, once known, dictates the other). Consultation of the chi-square distribution for 1 degree of freedom shows that the probability of observing this difference if men and women are equally numerous in the population is greater than 0.3. This probability is higher than conventional criteria for statistical significance, so normally we would accept the null hypothesis that the number of men in the population is the same as the number of women.

Pearson's chi-square is used to assess two types of comparison: tests of goodness of fit and tests of independence. A test of goodness of fit establishes whether or not an observed frequency distribution differs from a theoretical distribution. A test of independence assesses whether paired observations on two variables are independent of each other – for example, whether people from different regions differ in the frequecy with which they report that they support a political candidate.

Pearson's chi-square is the original and most widely-used chi-square test.

See also Yates' correction for continuity, median test.

wikipedia.org dumped 2003-03-17 with terodump