Skip to main content

Section 24.6 Section 5.1 Summary

This section introduced you to the chi-squared test. You saw that this test arises in three different settings. One of these settings is comparing the proportions of success across two or more populations, when independent random samples are taken from the populations or we have a randomized experiment. Another setting is comparing the entire distributions of a categorical response variable (which could include more than just two categories) across two or more populations (treatments), again assuming independent random samples from each population or a randomized experiment. The chi-squared test in these two scenarios is testing homogeneity of proportions. The final setting to which the chi-squared test applies is testing independence between two categorical variables when a random sample is drawn from a population and the observational units are classified according to two categorical variables.
You have found that the same chi-squared test procedure applies to all of these settings. The test statistic is based on comparing observed counts in the two-way table to what counts would be expected if the null hypothesis were true. You used simulation to investigate the sampling distribution of the chi-squared test statistic, and studied the conditions under which that sampling/randomization distribution can be well-approximated by the chi-squared probability distribution, providing an approximation of the test’s p-value. Finally, you learned that when the test indicates a statistically significant result, you can further analyze the contributions of the individual cells in the table to the calculation of that test statistic to learn more about the nature of the association. Example 5.1 presents an application of the chi-squared procedure.
You have attempted of activities on this page.