By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
The Chi-Square Test for Independence determines whether there is a statistically significant association between two categorical variables in a single population. For example, does gender (male/female) influence preference for a new phone model (iPhone/Android)? On the AP exam, you’ll analyze two-way tables, check conditions, compute the test statistic, and interpret results in context. This test is a staple in FRQs and multiple-choice questions, often paired with real-world scenarios like medical studies, marketing surveys, or social science research.
H?: The two variables are not independent (association exists).
Expected Count Formula: [ E = \frac{(\text{row total}) \times (\text{column total})}{\text{grand total}} ]
E = expected count for a cell in the two-way table.
Chi-Square Test Statistic (?²): [ \chi^2 = \sum \frac{(O - E)^2}{E} ]
O = observed count, E = expected count.
Degrees of Freedom (df): [ df = (\text{rows} - 1) \times (\text{columns} - 1) ]
For a 2×2 table, df = 1; for a 3×4 table, df = 6.
Conditions for Chi-Square Test:
Independent: Observations are independent (10% condition if sampling without replacement).
Calculator Command (TI-84):
STAT-TESTS-?²-Test
Store expected counts: STAT-EDIT-[B] (matrix B).
STAT-EDIT-[B]
P-value Interpretation:
If p-value-?, fail to reject H? (no evidence of association).
Contribution to ?²:
For a typical FRQ (e.g., "Is there an association between gender and phone preference?"):
H?: Gender and phone preference are not independent (association exists).
Check Conditions:
Independent: "Assume the sample is <10% of the population."
Compute Test Statistic:
?²-Test
Report ?² and df (e.g., ?² = 6.25, df = 1).
Find P-value:
Use ?²cdf(?², 1E99, df) on TI-84 (e.g., ?²cdf(6.25, 1E99, 1) = 0.0124).
?²cdf(?², 1E99, df)
?²cdf(6.25, 1E99, 1) = 0.0124
Make Conclusion in Context:
"Since the p-value (0.0124) is less than-= 0.05, we reject H?. There is convincing evidence of an association between gender and phone preference."
Follow-Up (if asked):
Correction: Always calculate E for every cell and verify the condition. If any E < 5, the test is invalid.
Mistake: Using row/column proportions instead of counts in the ?² formula.
Correction: The test requires counts, not percentages or proportions.
Mistake: Miscalculating df as (n - 1) or (rows + columns - 2).
Correction: df = (rows - 1) × (columns - 1). For a 2×3 table, df = 2.
Mistake: Interpreting a significant result as causation.
Correction: The test shows association, not causation (e.g., "Gender is associated with phone preference"-"Gender causes phone preference").
Mistake: Ignoring the 10% condition for independence.
Interpret the p-value in context.
Tricky Distinction: Chi-Square Goodness-of-Fit (one categorical variable) vs. Chi-Square Test for Independence (two variables). The exam may test both—know the difference!
Calculator Pitfall: Entering data into the wrong matrix (use [A] for observed counts, [B] for expected).
[A]
[B]
Context Matters: Always conclude with direction (e.g., "Females were more likely to prefer iPhones than expected").
Answer: (B) 2. df = (3 - 1)(2 - 1) = 2.
FRQ Part: A researcher tests whether political affiliation (Democrat/Republican) is associated with support for a policy (Yes/No). The ?² test yields p-value = 0.03. Interpret this p-value in context.
Answer: "Assuming political affiliation and policy support are independent, there is a 3% chance of observing a ?² statistic as extreme or more extreme than the one calculated."
Multiple Choice: Which condition is not required for a chi-square test for independence?
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.