# 11.7: Comparison of the Chi-Square Tests

- Page ID
- 6131

Above the \(\chi^2\) test statistic was used in three different circumstances. The following list is a summary of which \(\chi^2\) test is the appropriate one to use in different circumstances.

## Test for Goodness-of-Fit

Use the goodness-of-fit test to decide whether a population with an unknown distribution "fits" a known distribution. In this case there will be a single qualitative survey question or a single outcome of an experiment from a single population. Goodness-of-Fit is typically used to see if the population is uniform (all outcomes occur with equal frequency), the population is normal, or the population is the same as another population with a known distribution. The null and alternative hypotheses are:

- \(H_0\): The population fits the given distribution.
- \(H_a\): The population does not fit the given distribution.

## Test for Independence

Use the test for independence to decide whether two variables (factors) are independent or dependent. In this case there will be two qualitative survey questions or experiments and a contingency table will be constructed. The goal is to see if the two variables are unrelated (independent) or related (dependent). The null and alternative hypotheses are:

- \(H_0\): The two variables (factors) are independent.
- \(H_a\): The two variables (factors) are dependent.

## Test for Homogeneity

Use the test for homogeneity to decide if two populations with unknown distributions have the same distribution as each other. In this case there will be a single qualitative survey question or experiment given to two different populations. The null and alternative hypotheses are:

- \(H_0\): The two populations follow the same distribution.
- \(H_a\): The two populations have different distributions.