Skip to main content

AP Statistics Unit 8: Inference for Categorical Data: Chi-Square

Ready When You Are

Select a course and unit, then start practicing.

This page is set up for AP Statistics Inference for Categorical Data: Chi-Square. Click Practice, answer it, and read the explanation before moving on.

Chi-square tests for goodness-of-fit, homogeneity, and independence for categorical data analysis. On the AP Statistics exam, items from Inference for Categorical Data: Chi-Square often ask you to reason about data, inference, and uncertainty from context rather than recall isolated terms.

College Board topic statements for this unit include Chi-square goodness-of-fit test; Chi-square test of independence and homogeneity; Selecting appropriate categorical inference procedures; and Interpreting chi-square statistics and limitations.

Inference for Categorical Data: Chi-Square is a core thread in AP Statistics. Even without a single posted weight, you will see these ideas recur on MCQs and free-response tasks that blend multiple units.

A common miss on Inference for Categorical Data: Chi-Square is choosing the definition you recognize instead of the one that fits the scenario. Watch for stems that swap closely related ideas from Chi-square goodness-of-fit test; and Chi-square test of independence and homogeneity.

When you miss a question, tag it by skill (vocabulary, calculation, inference). Patterns in your misses show where to reread your notes.

Keep a running list of miss types for Inference for Categorical Data: Chi-Square—vocabulary, setup, or inference. Three sessions with the same miss pattern mean reread that thread in your notes before practicing more questions.

Click Practice above for fresh MCQs tied to Inference for Categorical Data: Chi-Square. Answer, read the explanation, and log one sentence about why the correct choice works—that habit compounds faster than grinding endless worksheets.

Sample questions

A few exam-style multiple-choice questions from this unit, with answers and explanations.

  1. Question 1

    A college tutoring center randomly assigns 180 students to one of three exam-preparation methods: flashcards, practice problems, or video lessons. After two weeks, each student is classified as either passpass or not passnot\ pass on a certification exam. A chi-square test of homogeneity is performed, and the result is χ2=9.84\chi^2=9.84 with df=2df=2 and p=0.007p=0.007. Which conclusion is best supported at the α=0.05\alpha=0.05 level?

    • A

      There is not convincing evidence that the preparation methods differ because the p-value is less than 0.050.05 only for the sample of 180 students.

    • B

      There is convincing evidence that the three preparation methods have different sample pass rates, but no conclusion about exam outcomes can be made.

    • C

      There is convincing evidence that the distribution of pass/fail outcomes differs among the three preparation methods, so the preparation method affects exam outcome for these students.

      Correct answer
    • D

      There is convincing evidence of an association between preparation method and exam outcome, but the result cannot be used to make a cause-and-effect conclusion.

    Explanation

    The test gives p=0.007p=0.007, which is less than α=0.05\alpha=0.05, so we reject the null hypothesis that the distribution of pass/fail outcomes is the same for all three preparation methods. Because students were randomly assigned to methods, this is an experiment, so a cause-and-effect conclusion is justified for these students.

    C is correct because it states both the significant difference in distributions and the causal conclusion supported by random assignment.

    B is incorrect because it refers only to the sample and does not make the proper inference about the study result.

    D is incorrect because association-only language is appropriate for observational studies, not for a randomized experiment.

    A is incorrect because the p-value is evidence against the null, not for it; a small p-value means the observed differences would be unlikely if the null were true.

  2. Question 2

    A transit agency claims that residents choose four commute modes in proportions 0.500.50, 0.250.25, 0.150.15, and 0.100.10. In a simple random sample of 120120 residents, the observed counts are 6868, 2525, 1717, and 1010, respectively. A chi-square goodness-of-fit test gives χ2=2.29\chi^2=2.29, with 33 degrees of freedom and a pp-value of 0.5150.515. Assuming the sample responses are independent, which conclusion is best supported at the α=0.05\alpha=0.05 significance level?

    • A

      Fail to reject the claim, and conclude that the commute-mode proportions are exactly the same in the population.

    • B

      Fail to reject the claim; the sample does not provide convincing evidence that the population proportions differ from the agency’s proportions.

      Correct answer
    • C

      Reject the agency’s claim because the observed counts differ from the counts predicted by its proportions.

    • D

      Accept the claim as proven; the pp-value means there is a 51.5%51.5\% probability that the agency’s proportions are correct.

    Explanation

    The expected counts under the agency’s claim are 6060, 3030, 1818, and 1212, so each is at least 55; with independent responses, the chi-square procedure is appropriate. Since the pp-value of 0.5150.515 is greater than α=0.05\alpha=0.05, fail to reject the claimed distribution. This does not prove the claim is true; it means the sample does not provide convincing evidence against it. The chi-square statistic summarizes the overall discrepancy between observed and expected counts, but by itself does not identify a cause for any differences.

    C: C difference between observed and expected counts is not enough to reject the claim; the test’s pp-value is not small.

    B: Correct. The large pp-value supports failing to reject the claimed distribution, without establishing that it is exactly true.

    D: C pp-value is not the probability that the null hypothesis is true; it is calculated assuming the claimed proportions are true.

    A: Failing to reject a claim does not prove exact equality; the test may simply lack evidence of a difference.

  3. Question 3

    A campus recreation office randomly selects 160 students and asks each student to check every facility they used during the past week. The resulting counts are 90 for the pool, 110 for the gym, and 55 for the courts. An analyst proposes a chi-square goodness-of-fit test to determine whether use is equally distributed among the three facilities. Which assessment is most appropriate?

    • A

      A chi-square test of independence is appropriate because facility use is one variable and the identity of each student is a second categorical variable.

    • B

      The test is appropriate because the three facilities are the categories, even though their counts sum to more than the number of students.

    • C

      A chi-square test of homogeneity is appropriate because the three facilities form separate populations, even though only one sample was collected.

    • D

      The test is not appropriate because a student can contribute to multiple categories; a standard goodness-of-fit test requires one mutually exclusive category per student.

      Correct answer

    Explanation

    B chi-square goodness-of-fit test applies to counts for one categorical variable in which each observational unit contributes to exactly one category. Here, students may use multiple facilities, so the facility counts overlap and do not represent mutually exclusive outcomes. The data would need to be collected as one choice per student, such as the facility used most often, to use a standard goodness-of-fit test for this question.

    B is incorrect because having named categories is not enough; each student must contribute to only one category.

    C is incorrect because a test of homogeneity compares distributions across two or more distinct populations or independently sampled groups, not three facilities used by the same sampled students.

    A is incorrect because student identity does not provide a second categorical variable for a chi-square test of independence, and the multiple responses from a student cannot be treated as independent observations.

  4. Question 4

    A researcher takes a random sample of 200200 students from a large high school and records two categorical variables for each student: whether the student eats breakfast before school (Yes\text{Yes} or No\text{No}) and whether the student reports feeling tired during first period (Yes\text{Yes} or No\text{No}). A chi-square test of independence gives a very small pp-value. Which conclusion is most appropriate at the end of the study?

    • A

      The small pp-value shows that breakfast and tiredness are unrelated for students outside the sample.

    • B

      Because the sample was random, eating breakfast and feeling tired must be independent in the population of students.

    • C

      There is convincing evidence of an association between eating breakfast and feeling tired during first period among students at the school, but the study does not justify a causal conclusion.

      Correct answer
    • D

      Eating breakfast causes students to feel less tired during first period, so the school should require breakfast for all students.

    Explanation

    D significant chi-square test of independence provides evidence that the two categorical variables are associated in the population from which the random sample was taken. Because this is an observational study, it does not allow a cause-and-effect conclusion.

    D is incorrect because the data support association, not causation. C is correct because it states the proper conclusion: evidence of association, with no causal claim. B is incorrect because a random sample does not guarantee independence; it only supports inference about the population. A is incorrect because a small pp-value suggests the variables are related, not unrelated.

  5. Question 5

    Researchers take independent random samples of patients from three clinics to compare their preferred appointment method. The observed counts are: Clinic A, 7272 app-based and 4848 phone; Clinic B, 3636 app-based and 4444 phone; Clinic C, 4242 app-based and 5858 phone. For a chi-square test of homogeneity, what is the expected count of patients preferring app-based appointments in Clinic B under the null hypothesis?

    • A

      3636, using the observed app-based count in Clinic B

    • B

      5050, dividing the total number of app-based preferences equally among the clinics

    • C

      4040, using Clinic B’s sample size and the pooled app-based proportion

      Correct answer
    • D

      4848, applying Clinic A’s app-based proportion to Clinic B’s sample

    Explanation

    Under the null hypothesis for a chi-square test of homogeneity, the preference distribution is the same across clinics. The pooled proportion preferring app-based appointments is 150/300=0.5150/300=0.5, so the expected count for Clinic B is 80(0.5)=4080(0.5)=40.

    C is correct because it uses Clinic B’s sample size and the pooled proportion under the null.

    B is incorrect because equal distributions mean equal proportions, not equal counts when clinic sample sizes differ.

    A is incorrect because 3636 is the observed count, not the count expected under the null.

    D is incorrect because it uses Clinic C’s sample proportion rather than the pooled proportion specified by the null hypothesis.

Frequently asked questions

Helpful resources