StATS: Chi-squared test (September 3, 1999)

Dear Professor Mean, Can the Chi-square test be used for anything besides categorical data?

The Chi-square test exists in many different forms. It is useful for testing whether a categorical variable conforms to a set of hypothesized probabilities. It can also test whether two categorical variables are independent. Both of these tests involve comparing expected counts to observed counts.

There is also a Chi-square test for examining whether a sample variance is equal to a hypothesized value. For this test, you look at the ratio of the sample variance to the hypothesized variance.

Finally many nonparametric tests rely on the Chi-square distribution as an approximation when you don't have exact tables available.

This page was written by Steve Simon while working at Children's Mercy Hospital. Although I do not hold the copyright for this material, I am reproducing it here as a service, as it is no longer available on the Children's Mercy Hospital website. Need more information? I have a page with general help resources. You can also browse for pages similar to this one at Category: Unusual data.