## Encyclopedia > Pearson's chi-square test

Article Content

# Pearson's chi-square 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:

$\chi^2 = \sum {(O - E)^2 \over E}$

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:

$\chi^2 = {(45 - 50)^2 \over 50} + {(55 - 50)^2 \over 50} = 1$

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.

All Wikipedia text is available under the terms of the GNU Free Documentation License

Search Encyclopedia
 Search over one million articles, find something about almost anything!

Featured Article
 Northampton, Suffolk County, New York ... makeup of the town is 46.37% White, 44.23% African American, 0.85% Native American, 0.85% Asian, 0.00% Pacific Islander, 2.35% from other races, and 5.34% from two or more ...