IB Maths AI HL · Unit 4: Statistics and Probability
IB Maths AI HL Confidence Intervals and Hypothesis Testing for Means Questions
Updated October 2026
Exam-style IB Maths AI HL confidence intervals and hypothesis testing for means questions with worked solutions. Start with the 3 fully worked examples below — each is solved step by step, showing the working that earns the marks — then try the practice questions and check your working against the mark scheme.
One-sample and two-sample t-tests when the population variance is unknown. HL AI expects the null, alternative, test statistic, and p-value each stated explicitly. Hypothesis testing — t-test and chi-squared overview →
What's examined in AI HL confidence intervals and hypothesis testing for means
The question bank covers these confidence intervals and hypothesis testing for means question types (number of questions in brackets):
Where students lose marks on confidence intervals and hypothesis testing for means
Examiner's noteHypothesis tests: hypotheses in words, the wrong test, and conclusions that don't follow
Where marks are lost: All five sessions. Hypotheses written in words that mix up sample and population (or omit the population mean); a two-tailed alternative for a one-tailed test; a two-sample test where a paired test was needed (and its assumptions not stated); a z-test instead of a t-test; χ² goodness-of-fit degrees of freedom not reduced for an estimated parameter; cells with expected frequency below 5 not combined; the binomial test for a proportion hardly known; a correct comparison followed by the opposite conclusion; and confidence intervals without inequality notation.
What examiners look for: Write H₀ and H₁ with symbols for population parameters (μ, ρ, p). Choose the test from the design (paired data → paired t; σ unknown → t). State the p-value, compare it with the stated significance level, then conclude in context. For goodness of fit: df = cells − 1 − parameters estimated.
Examiners flagged this in 4 exam series (May 2024, November 2024, May 2025, November 2025). Summarised in our own words from IB subject reports, IB Programme Resource Centre. Read the full note →
Confidence Intervals and Hypothesis Testing for Means worked examples
Worked example 1: Interpreting a Two-Sample t-test · easy
Arriane claims that the population mean weight of eggs from black geese () is greater than the population mean weight of eggs from white geese (). A two-sample -test is performed at the significance level. The GDC outputs a -value of . Write down the null hypothesis, and state whether Arriane's claim is supported by the evidence.
Solution
1. State the null hypothesis () representing no difference: (The population mean weight of eggs from black geese is equal to that of white geese).
2. Identify the -value: .
3. Compare the -value to the significance level (): .
4. Determine the outcome: Since the -value is greater than the significance level, there is insufficient evidence to reject .
5. Conclude in context: Arriane's claim is not supported by the evidence.
5 steps
Examiner tip: When defining hypotheses for means, you must explicitly use the word "population" (or the symbol ). Testing compares population parameters, not sample statistics ().
Worked example 2: Performing a 1-Sample t-test · medium
A manufacturer claims their lightbulbs have a mean lifespan of hours. A consumer watchdog tests a random sample of lightbulbs and finds a sample mean of hours with a sample standard deviation of hours. Conduct a 1-tailed -test at the significance level to determine if the mean lifespan is less than the manufacturer's claim. State the -value and your conclusion.
Solution
1. State the hypotheses: and .
2. Navigate to the 1-Sample -test tool on the GDC (using summary statistics, not raw data).
3. Input the parameters: , , , , and select the alternative hypothesis form .
4. Execute the test and extract the -value:
5. Compare with the significance level: .
6. Conclude: Reject . The -value is , providing sufficient evidence to conclude the mean lifespan is less than hours.
6 steps
Examiner tip: Ensure you input the unbiased sample standard deviation ( or ) into your GDC rather than the population standard deviation () when performing -tests from summary statistics.
Worked example 3: Constructing a Confidence Interval · hard
A botanist measures the heights of a random sample of fully grown sunflower plants. The sample mean height is with an unbiased sample standard deviation of . Construct a confidence interval for the population mean height of the sunflowers, and interpret its meaning.
Solution
1. Identify the correct GDC function: 1-Sample -Interval (since the population standard deviation is unknown and estimated from the sample).
Examiner tip: A confidence interval estimates the population mean, not the range of individual values. Do not say "95\% of the sunflowers are between 211cm and 219cm."
Try these IB Maths AI HL confidence intervals and hypothesis testing for means questions
Three questions from the bank, easiest first. Mark schemes and AI marking of your written working are in the practice area. One of them has its full worked solution here, open to everyone.
Question 1 · easy · 4 marks · Paper 1
A school claims that its students study an average of hours per week. A skeptical researcher believes the true average is actually less than hours. They take a sample of students to test this.
State the null hypothesis () and the alternative hypothesis () for this test.
A factory produces lightbulbs that are supposed to last for an average of hours. A quality control manager tests a random sample of bulbs and records their lifespans (in hours):
Assuming the lifespans are normally distributed, perform a -sample -test at the significance level to determine if the true mean lifespan is less than hours. State your -value and conclusion.
Full worked solution Free, no sign-in
, (left-tailed test). [A1]
Enter the data into List 1 (, ).
Using GDC: STATTESTt1-Sample, with Data List, , . [M1]
GDC outputs: () [A1] -value () [A1]
Since (), we reject . [R1]
There is sufficient evidence that the true mean lifespan is less than hours.
Every question here has a full worked solution.See them all →
Question 3 · hard · 7 marks · Paper 1
A confidence interval for a population mean was calculated using a sample of observations. The population standard deviation was unknown, so the -distribution was used.
The calculated interval is: .
Determine the exact sample standard deviation () that was calculated from the raw data to generate this interval.
How many IB Maths AI HL confidence intervals and hypothesis testing for means questions are there?
There are 25 exam-style confidence intervals and hypothesis testing for means questions in the AI HL question bank (Paper 1: 19 · Paper 2: 6), graded 8 easy, 9 medium, 7 hard, 1 very hard. Every question has a full IB-style mark scheme (M, A and R marks).
Is confidence intervals and hypothesis testing for means on Paper 1 or Paper 2?
Both. In the bank, Paper 1: 19 · Paper 2: 6. Practise with your GDC — AI papers expect calculator methods throughout.
Where can I get the mark schemes?
Open the AI HL Unit 4 practice page: every question has a step-by-step IB-style mark scheme, and you can photograph your working for instant AI marking. The worked examples on this page are free.