Topic 4.11 · AI SL and HL

How different is different enough?

Hypotheses, expected frequencies, degrees of freedom, and the point at which a difference stops being chance.

150 people, two groups, three preferences. Move the counts and watch χ² climb. The conclusion flips at one specific value, and nowhere else.

shift 10
16.667χ² statistic
5.991critical value, 5%
reject H₀conclusion

Grey is what you would expect if the two were unrelated. Green is what happened.

The hypotheses

H₀: the two variables are independent. H₁: they are not independent. For goodness of fit, H₀ is that the data fits the stated distribution.

H₀ is always the boring one: nothing going on, no association. You never prove it. You either have enough evidence to reject it or you do not, and "we accept H₀" is wording that loses marks. Say "there is insufficient evidence to reject H₀".

Expected frequencies

expected= row total × column totalgrand total what the cell would be if the two were unrelated row 1, column 1= 60 × 50150 = 20

Every expected frequency should be at least 5. If one is not, the test is not reliable and the usual fix is to combine categories. Checking this is worth a mark and almost nobody does it.

The statistic and the decision

χ²= Σ(O − E)²E divided by E, which is why a gap of 10 matters more in a small cell degrees of freedom= (rows − 1)(columns − 1) = (2 − 1)(3 − 1) = 2 for goodness of fit it is n − 1
Decide byReject H₀ when
critical valueχ² is bigger than it
p-valuep is smaller than the significance level

The two tests always agree, and the inequalities point opposite ways, which is the thing people get backwards under pressure. Big statistic, small p, reject.

Your turn

1. A table has 2 rows and 3 columns. How many degrees of freedom?

2. Row total 60, column total 50, grand total 150. What is the expected frequency?

3. χ² = 1.3 with a critical value of 11.07. What do you conclude?

Where the marks go

Stating both hypotheses in context, not just as symbols. "H₀: preference is independent of group" rather than "H₀: independent".

The degrees of freedom. One number, often one mark, and easy to get wrong by forgetting to subtract.

The conclusion in context and with the comparison stated. "16.7 is greater than 5.99, so reject H₀: there is evidence that preference depends on group."

Want a verdict on your own draft?

These pages are free and stay free, but they are general and your IA is not. Send me your research question, or whatever exists so far, and I will tell you in writing whether the topic has a ceiling on it, where the marks are going, and what to change first. That costs nothing and it comes back within 24 hours.

Written by a serving IB Diploma and Career-related Programme Coordinator and Head of Mathematics, who reads internal assessments across every subject group every year. If you then want the whole draft reviewed properly against all five criteria, that is the paid one, and it is refunded if it does not name at least three specific things to fix.

Get a free verdict Full written review, $99

I never write any part of it. Not a sentence, not a calculation, not your data. Under 18: a parent buys this and the thread is with them. I do not work with students at my own school.