RevisionPrep FAQ
IB Maths AI: Chi-Squared & Hypothesis Testing FAQ
Answered by RevisionPrep's IB Educators
Answered by RevisionPrep's IB Educators. Chi-squared and hypothesis testing is the statistical-inference content inside Maths AI's Statistics and Probability topic — the chi-squared test for independence and the goodness of fit test, examined on Paper 2 with your GDC. Below, real answers to what students and parents actually ask about studying it, the marks it carries, and how it compares across SL, HL and the AA course.
Concept & Syllabus
What is chi-squared & hypothesis testing in IB Maths, and how is it examined?
Chi-squared and hypothesis testing is the statistical inference content in IB Maths AI's Statistics and Probability topic — covering the chi-squared test for independence and the goodness of fit test. It's examined on Paper 2 (GDC required), usually as one structured question worth 6-12 marks, testing setup, calculation and interpretation.
According to the IB's Mathematics: Applications and Interpretation guide (first examined 2021, still the current syllabus), this content sits in Topic 4: Statistics and Probability — chi-squared testing is SL subtopic 4.7, with HL extending into further hypothesis tests at 4.14–4.16.
Key facts:
- Examined on Paper 2 — all three AI papers allow a calculator, unlike AA's non-calculator Paper 1
- Doesn't turn up in Paper 1 short-response questions
- HL students may also meet it inside a Paper 3 extended investigation
What's the difference between the chi-squared test for independence and the goodness of fit test?
The independence test checks whether two categorical variables are related, using a contingency table with rows and columns. The goodness of fit test checks whether observed data matches an expected distribution, like a fair die. Both compare a calculated χ² statistic to a critical value or p-value at a stated significance level.
Quick tip: if the question asks 'is there an association between X and Y?', it's an independence test. If it asks 'does this data fit a known distribution?' (uniform, binomial, Poisson), it's goodness of fit — the giveaway is a single row of observed frequencies rather than a table.
Is chi-squared and hypothesis testing only in IB Maths AI, or is it in AA too?
Chi-squared and hypothesis testing appears only in Mathematics: Applications and Interpretation (AI), not in Analysis and Approaches (AA). It sits in Topic 4 (Statistics and Probability), assessed at both SL and HL, with HL adding further hypothesis tests such as the t-test for a population mean.
AA's Topic 4 covers probability distributions and the normal distribution in some depth, but it stops short of formal hypothesis testing — that inferential-statistics content is reserved entirely for AI, which is one reason data-minded students often prefer it.
Do I need to memorise the chi-squared formula for the IB exam?
No — the chi-squared formula is given in the Mathematics AI formula booklet, so you don't need to memorise it. What you do need cold is how to set up expected values, state your hypotheses correctly, choose the right degrees of freedom, and read your GDC's output accurately.
What's NOT given in the booklet: the wording of H0 and H1, the contingency table structure, and the conclusion sentence linking your result to the original context. Examiners award marks for these steps, not just the final number.
How do I find the degrees of freedom for a chi-squared test?
For a contingency table, degrees of freedom equal (rows − 1) × (columns − 1). For a goodness of fit test, it's the number of categories minus 1, minus any extra parameters estimated from the data. Get this step wrong and your critical value — and your entire conclusion — falls apart.
Worked mini-examples:
- A 3×4 contingency table: df = (3−1)(4−1) = 6
- Testing dice rolls against a uniform distribution (6 categories, no parameters estimated): df = 6 − 1 = 5
- Testing a distribution where you first estimated the mean from the data: subtract one further degree of freedom
How To Study & Get A 7
What's a worked example of a chi-squared hypothesis test IB exam question?
A typical exam question gives a contingency table and asks you to test for association at the 5% significance level. You state H0 (no association), find expected frequencies, calculate χ², compare it to the critical value or p-value, then write a conclusion in context — that last step is where most marks are lost.
Worked example: 120 students split by year group and subject preference (Science / Humanities / Arts).
Observed: Year 12 — 30, 20, 10. Year 13 — 15, 25, 20.
- H0: subject preference is independent of year group. H1: they're associated.
- Expected values (row total × column total ÷ 120): all six work out to 22.5, 22.5, 15, 22.5, 22.5, 15.
- χ² = Σ(O−E)²/E ≈ 2.5 + 0.28 + 1.67 + 2.5 + 0.28 + 1.67 = 8.89
- df = (2−1)(3−1) = 2; critical value at 5% is 5.991.
- Since 8.89 > 5.991, reject H0 — there's evidence of an association between year group and subject preference at the 5% level.
What are the most common mistakes students make with chi-squared questions?
The most common mistake is rounding expected frequencies too early, which throws off the whole statistic — keep at least three decimal places until the final step. A close second: writing conclusions in calculator language ('reject H0') instead of context, which is exactly what the mark scheme is looking for.
Three things to check before you submit a chi-squared answer:
- Did you state H0 and H1 in words relevant to the question, not just symbols?
- Did you check every expected value is above 5 (a condition for the test to be valid)?
- Does your final sentence name the variables and the significance level, not just 'reject/accept'?
How is hypothesis testing different at SL vs HL in Maths AI?
At SL, you're tested on the chi-squared tests for independence and goodness of fit only. At HL, that content carries over, but you also meet the t-test for a population mean and hypothesis testing for a single parameter — both examined with the same significance-level, p-value logic you first learn at SL.
HL students effectively reuse the SL framework (state hypotheses, find a test statistic, compare to a critical value or p-value) on new tests — so a strong SL foundation genuinely carries forward, it isn't separate content to relearn from scratch.
How can I use my GDC (calculator) for chi-squared tests in the exam?
Your GDC does the heavy calculating — entering the observed values as a matrix and running a χ²-test gives you the test statistic, degrees of freedom and p-value directly. Examiners still expect the hypotheses, degrees of freedom and a written conclusion shown by hand; a bare calculator readout alone won't earn full marks.
- Enter observed frequencies as a matrix (rows × columns matching your table)
- Run the χ² test (independence or GOF) from the statistics menu
- Record χ², df and the p-value your calculator returns
- Write these into your answer alongside your stated hypotheses — don't just quote the calculator screen
Quick tip: practise the matrix-entry steps on your exact model of calculator before your mock — this is where students lose time under pressure, not on the maths itself.
Exam Technique & Common Pitfalls
How many marks are chi-squared questions usually worth in IB Maths AI exams?
Chi-squared and hypothesis testing questions typically appear as one structured question on Paper 2, worth between 6 and 12 marks depending on whether it's SL or HL and how many sub-parts are asked. It's rarely the whole paper — expect it alongside probability distributions or regression in the same statistics question.
HL students doing the Paper 3 extended-investigation route may see hypothesis testing worth considerably more within that single extended question, since it often forms the analytical core of a modelling task.
What command terms are used in chi-squared/hypothesis testing questions?
Expect 'state' for hypotheses, 'calculate' for the test statistic or p-value, 'determine' for degrees of freedom, and 'interpret' or 'comment on' for your conclusion. 'Interpret' is the term students most often answer too briefly — it wants a full sentence linking your result back to the original context, not a symbol.
| Command term | What it wants |
|---|---|
| State | H0/H1 in words |
| Calculate | χ², df, p-value |
| Determine | Degrees of freedom |
| Interpret / Comment on | Full-sentence conclusion in context |
Comparisons & Choices
Is chi-squared and hypothesis testing hard compared to other IB Maths AI topics?
Chi-squared and hypothesis testing isn't conceptually hard — the real difficulty is procedural: several dependent steps, so one small slip compounds through the whole answer. Compared with calculus-heavy Maths AI topics like optimisation, most students find statistics topics like this one more accessible, provided they're methodical with each step.
In fifteen years of marking mocks, the students who struggle here aren't the ones who don't understand the idea — they're the ones who skip stating H0/H1 properly and lose two easy marks before the maths even starts.
Should my child choose Maths AI over AA if they're better at stats than pure maths?
If your child is stronger with real-world data and calculator-based statistics than with algebraic proof, Maths AI — which includes chi-squared and hypothesis testing — usually suits them better than Analysis and Approaches. AA has no equivalent statistical-inference content and leans more heavily on calculus and algebraic rigour throughout.
Chi-Squared & Hypothesis Testing: SL vs HL (Maths AI) — see comparison table below for how the content splits by level, which is worth reviewing alongside the AI vs AA decision itself.
Resources & Preparation
What resources actually help students master chi-squared & hypothesis testing?
Past-paper practice matters more here than in almost any other topic, because the question format barely changes year to year. Look for topical worksheets that isolate chi-squared and hypothesis testing specifically, paired with full timed mock papers — that combination of targeted repetition and exam-condition rehearsal is what shifts a 5 to a 7.
What to check before buying any statistics resource for your child:
- Does it include full worked solutions, not just final answers?
- Does it separate SL-only content from HL extensions clearly?
- Does it include at least one mock under real timing conditions, not just isolated drill questions?
Chi-Squared & Hypothesis Testing: SL vs HL (Maths AI)
| Aspect | SL | HL |
| Tests covered | Independence, goodness of fit | Adds t-test, hypothesis test for mean |
| Formula booklet | χ² formula given | χ² + t-test formulas given |
| Typical Paper 2 marks | 6–10 marks | 8–14 marks |
| GDC requirement | Required | Required |
| Paper 3 (HL only) | Not applicable | May feature in extended investigation |
For structured practice on this exact topic, work through RevisionPrep's Maths AI Topical Worksheets on Statistics and Probability, then test yourself under timed conditions with a full Mock Paper before your next exam.
