Contingency tables and the chi-squared test

Contingency tables and the chi-squared test Flashcards

Spec SE1–SE4 · AQA A-Level Further Maths: Flashcards

Studying this course? Keep your progress in one place.

Flip each card. Be honest: the ones you mark Not yet come back first.

12 cards

Tap a card to flip it. Swipe right if you knew it, left if not.

See all 12 cards
Write the null hypothesis for a chi-squared test on a contingency table.
There is no association between the two variables (they are independent).
How is the expected frequency of a cell calculated?
row total×column totalgrand total\frac{\text{row total}\times\text{column total}}{\text{grand total}}
State the test statistic.
∑(Oi−Ei)2Ei\sum\frac{(O_i-E_i)^2}{E_i}
State the degrees of freedom for an n×mn\times m table.
(n−1)(m−1)(n-1)(m-1)
What convention applies to expected frequencies?
All expected frequencies should be greater than 5.
What do you do if an expected frequency is 5 or less?
Combine adjacent categories, then recalculate the degrees of freedom.
Is the chi-squared test for association one-tailed or two-tailed?
One-tailed (upper tail): reject H0H_0 only for a large test statistic.
What does a large test statistic suggest?
Observed frequencies are far from those expected under independence, so there is evidence of association.
How do you find the sources of association?
Look for cells with large contributions (O−E)2E\frac{(O-E)^2}{E} and compare OO with EE in context.
Critical value for ν=2\nu=2 at 5%5\%?
5.9915.991
Critical value for ν=4\nu=4 at 5%5\%?
9.4889.488
A 3×43\times4 table: degrees of freedom?
(3−1)(4−1)=6(3-1)(4-1)=6

Flashcards