Section 11.2 Summary
- To determine whether two categorical variables are independent, using the data from a contingency table, we use a test for independence. The hypotheses take the form
- The test for independence is performed using the critical-value method and the p-value method. The observed frequencies are compared with the expected frequencies on the assumption that is correct. Large differences lead to the rejection of the null hypothesis.
- The -sample test, called the test for the homogeneity of proportions, determines whether all population proportions are equal. The result uses a test statistic that follows a distribution. The null hypothesis for the -sample test assumes that all population proportions are equal. The alternative hypothesis states that not all the population proportions are equal. When performing the test for the homogeneity of proportions, the same steps are used as for the test for independence.