Hypothesis testing
IB Maths AI · Unit 4: Statistics
Hypothesis testing notes
Fact-checked by a second, independent AI review.
Hypothesis testing in IB DP Statistics uses a null hypothesis, an alternative, and a significance level to decide, via a test statistic and p-value (or critical value), whether to reject Ho in context.
- Null hypothesis (H0) and Alternative (Ha)
- State H0 as no effect or no difference and Ha as the effect or difference you test for; choose one-tailed or two-tailed depending on the question.
- Significance level (alpha)
- Typically 0.05 or 0.01; sets the threshold for deciding whether the data are unlikely under H0.
- Test statistic and distribution
- Use z when the population standard deviation is known and the sample size is large; use t when the standard deviation is unknown; for variance tests use chi-square; for comparing variances or proportions with categorical data, the appropriate distribution depends on the test (e.g., chi-square, F). Determine the sampling distribution and compute the statistic.
- p-value and decision rule
- The p-value is the probability, under H0, of observing a result as extreme or more extreme in the direction(s) specified by Ha. If p ≤ alpha, reject H0; otherwise fail to reject. If Ha is two-tailed, consider both tails; if Ha is one-tailed, consider the specified tail.
- Conclusion in context
- State the decision in plain language and relate it back to the real-world question, noting any limitations or assumptions.
Remember it: Mnemonic: H0-Ha-P-D-C — State Ho, State Ha, Compute p-value, Decide, Communicate in Context.
Exam tip: Markers look for: correct H0/Ha, appropriate one- or two-tailed test, correct test statistic and distribution, proper p-value interpretation, and a clear, contextual conclusion with notes on assumptions and limitations.
Syllabus checklist
- Hypothesis testing: core ideas
- Terms and typical exam questions for "Statistics" in IB Diploma Mathematics: Applications & Interpretation
Practice questions
1. If the p-value is 0.03 at α = 0.05, what should you do to H0?
Answer checked
Show answer
Answer: Reject H0. A p-value below α means H0 should be rejected.
2. A hypothesis test result is given. The statement 'Rejecting H0 proves H1 is true' is:
Answer checked
Show answer
Answer: False. Rejecting H0 does not prove H1 is true; it only suggests insufficient evidence against H0.
3. The decision threshold for an IB hypothesis test is the ____ level.
Answer checked
Show answer
Answer: significance. The significance level α sets the threshold for rejecting H0.
4. With n = 25, x̄ = 52, s = 5, test H0: μ = 50 at α = 0.05 (two-tailed). What is the decision?
Answer checked
Show answer
Answer: Fail to reject H0. t = (52−50)/(5/√25) = 2, |t| < 2.064, so fail to reject H0 at 5% two-tailed.
5. Compute the z-statistic for a proportion test: n = 100, x = 56, H0 p = 0.50. z = ____
Answer checked
Show answer
Answer: 1.20. z = (0.56−0.50)/√(0.25/100) = 0.06/0.05 = 1.20.

Practise hypothesis testing as a game
Hearts, combos, streaks and an AI tutor that explains every answer. Start free.