Statistics & probability · AI HL
Estimation and confidence intervals
Estimate a population mean with an uncertainty interval, choose the correct standard error and interpret repeated-sampling coverage accurately.
Course focus: AI HL · First-assessment-2021 course. The sections distinguish the mathematical idea, the calculation and its interpretation.
Before you start: Sample means, standard error, normal and t distributions.
Build it from the beginning
HL contentA confidence interval comes from a method that captures the fixed population mean in a stated proportion of repeated samples. Wider intervals trade precision for greater coverage. Distinguish the known population spread from a spread estimated from the sample.
A first walkthrough
A normal population has known standard deviation 10. With n=100 and sample mean 50, form a 95% interval using 1.96.
- The standard error is \(10/\sqrt{100}=1\).
- The margin is \(1.96(1)=1.96\).
- The interval is [48.04,51.96], using the known-spread normal method.
The foundations behind the method
Understand what the symbols mean
Estimation asks for a plausible range for a population parameter, rather than a decision about one null value. The sample provides a point estimate, and the sampling model describes how much that estimate would vary across repeated samples. Confidence belongs to the procedure’s coverage under those assumptions.
How the ideas connect
Intervals are built from sampling error. Increasing sample size narrows the estimator’s uncertainty, while increasing confidence widens the range needed to capture a larger fraction of repeated-sampling outcomes. Neither operation removes systematic bias. The interval’s meaning follows from its target parameter and construction, not from its numerical appearance alone.
Start with the idea
Build your understanding
Target
The mean is a fixed population parameter in this model; the interval endpoints vary with the random sample.
Coverage
The confidence level describes repeated use of a procedure, not a percentage of raw observations inside one interval.
Compare the approaches
Choose by the information in the question, rather than the formula you recognise first.
Known-spread normal interval
When it helpsUse when sigma is known and the mean’s normal model is justified.
Check before using itDo not enter variance in a field that requires standard deviation.
Unknown-spread t interval
When it helpsUse for the specified normal-model mean procedure with sample s.
Check before using itMatch degrees of freedom and check distribution assumptions; small samples are sensitive to severe outliers.
Your method plan
- Identify the population parameter, sampling design and spread information.
- Select the matching critical value and standard error.
- State the interval with units and its correct confidence interpretation.
Learn the methods
Learn step by step
1. A point estimate leaves uncertainty hidden
The sample mean estimates a population mean, but another random sample would usually give a different result. A confidence interval combines that point estimate with a measure of precision. Its target is the population parameter, not the central fraction of individual observations. Define the sampled population and assess whether the selection design supports an inference. A narrow interval from a biased sample can be precisely misleading.
2. Known spread gives a normal interval
For independent observations and a normal or justified approximate-normal sampling distribution, known population standard deviation sigma gives standard error \(\sigma/\sqrt n\). A two-sided confidence interval adds and subtracts a standard-normal critical value times that error. The critical value leaves equal probability in the two tails. Use the requested confidence level; 1.96 belongs to a 95% normal interval and is not a universal uncertainty multiplier.
Known-spread interval
Why this formula works
The standardized sampling-mean error has an approximately or exactly standard-normal distribution under the stated conditions. Keeping its central confidence fraction translates to a bound on the unknown mean around the observed estimate. The denominator uses sampling precision, so it shrinks with independent sample size rather than with the number of decimal places shown.
\(\bar x\pm z^*\frac{\sigma}{\sqrt n}\).
Quick example
For \(\bar x=50,\sigma=10,n=100\), a 95% interval is \(50\pm1.96\), or [48.04,51.96].
Worked example: A known-spread estimate
A random sample of 100 from a normal population has mean 50; population sigma is 10. Give a 95% mean interval.
- The standard error is 10/√100=1.
- Use standard-normal critical value approximately 1.959964.
- The interval is approximately \([48.0400,51.9600]\).
- This estimates the population mean. Individual measurements have spread 10, not the interval’s mean-estimation error 1.
3. Unknown spread adds estimation uncertainty
If population spread is unknown and estimated using sample s, a suitable one-sample normal model uses a t critical value with n−1 degrees of freedom. This is conceptual support for mean inference and must be matched to the method specified by the task. T critical values depend on both confidence level and degrees of freedom. For small samples, assumptions about the underlying distribution and outliers are particularly important. Do not replace an unknown population spread by a known one merely because the calculator displays s.
Worked example: An unknown-spread example
A sample from an appropriate normal population has n=25, mean 10 and sample s=5. Find a 95% t interval.
- Use 24 degrees of freedom and standard error 5/√25=1.
- The two-sided critical t value is about 2.063899.
- The interval is approximately \([7.93610,12.06390]\).
- Using 1.96 would ignore the additional spread-estimation uncertainty in this specified small-sample procedure.
4. Understand what confidence means
The construction has a stated long-run coverage rate across repeated samples under the model assumptions. After calculating one interval, the fixed unknown parameter either lies in it or does not. A frequentist 95% interval is not automatically a statement of 95% posterior probability about that particular fixed parameter. It also does not say that 95% of measurements lie in the interval. Use precise wording such as “a 95% confidence interval for the population mean is …”.
5. Width, sample size and planning
Higher confidence requires a larger critical value and a wider interval, all else fixed. Greater sample size reduces standard error by a square-root rule. For a known-spread normal interval with desired margin M, solve \(n\ge(z^*\sigma/M)^2\) and round up. This is a planning calculation under its assumptions, not a repair for biased sampling. A final integer sample size must also respect practical sampling conditions and a relevant population model.
Higher sample size reduces mean uncertainty
- Individuals: SD = 2
- Means of 16: SD = 0.5
Sample-size planning
Why this formula works
The normal interval margin is its critical value multiplied by standard error. Requiring that margin no greater than M and solving the positive inequality gives the squared ratio. A sample size is an integer, so round upward and check the resulting margin rather than rounding to the nearest count.
\(n\ge\left(\frac{z^*\sigma}{M}\right)^2\).
Quick example
With sigma=10, M=2 and 95% normal confidence, the lower requirement is 96.04, so choose at least 97 observations.
6. Use intervals alongside tests
A two-sided mean test and a confidence interval can align when they use the same model, standard error and level: a null value outside the corresponding interval leads to rejection. One-sided alternatives require their matching treatment, and discreteness or different procedures can break a simplistic comparison. State estimated effect size and precision, not merely whether zero is inside. Distinguish statistical evidence from practical importance in the original units.
Quick formula reference
For revision once you understand the methods above. Check the conditions before using a formula.
Learn to diagnose an error
Spot the mistake
The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.
A 95% confidence interval for the mean contains 95% of individual observations.
Explain and repair the mistake
It concerns uncertainty in the population mean, not the distribution of individuals. A mean interval can become very narrow as independent sample size grows, while individual spread remains unchanged. A prediction or population-content interval answers a different question.
Connect and apply
Put the ideas together
A more demanding application of this guide’s methods. This is a learning stage; any additional HL content is labelled separately.
Choose an integer sample size
Known sigma=10, desired margin at most 2 and 95% normal confidence give a bound n≥96.04. What should be used?
- A sample cannot contain 96.04 observations.
- Rounding to 96 would fall below the required bound.
- Use at least 97 under this planning model.
- Check the resulting margin and round the final reported interval only after the calculation.
Does collecting 97 self-selected responses establish the same inference?
Check your reasoning
Not necessarily. The calculation assumed an appropriate independent sample from the target population. Self-selection can introduce bias that a nominal interval width does not describe.
Common mistakes and how to avoid them
- It concerns uncertainty in the population mean, not the distribution of individuals. A mean interval can become very narrow as independent sample size grows, while individual spread remains unchanged. A prediction or population-content interval answers a different question.
- Do not enter variance in a field that requires standard deviation.
- Match degrees of freedom and check distribution assumptions; small samples are sensitive to severe outliers.
Practise independently
Build confidence, then apply it
Try each question before opening its hint or solution. If a method is new, return to the walkthrough, then try again. These learning stages describe the practice sequence; additional HL content is labelled separately.
- 1
Build confidence
HL extensionKeep the same mean and spread but take n=400. Find the interval.
Need a starting point?
The new standard error is half as large.
Show the worked solution
- The margin is \(1.96(10/20)=0.98\).
- The interval is [49.02,50.98].
- 2
Apply and explain
HL extensionIf the population standard deviation is unknown, can you automatically use the same z-interval with sample spread?
Need a starting point?
The spread estimate adds uncertainty.
Show the worked solution
- For the course normal-population mean method, use the appropriate t-distribution with n-1 degrees of freedom.
- Do not silently replace known population spread with a sample estimate while keeping the z procedure.
- 3
Check your understanding
At fixed data and method, does increasing confidence make an interval wider or narrower?
Show the worked solution
Wider: a larger critical value captures a greater fraction of repeated-sampling errors. Increasing confidence does not add observations or remove sample bias.
- 4
Use the method
How does doubling sigma affect a known-spread interval at the same n and confidence level?
Show the worked solution
It doubles the standard error and therefore the margin and full width. The centre remains the observed sample mean. This assumes the same method and conditions continue to apply.
Finished? Use the linked question bank below to practise selecting the method without a guide telling you which rule to use.
Using these methods in exam questions
AI Paper 1
GDC requiredShort-response questions still need mathematical setup and interpretation. Choose the correct tool, enter the model or data carefully, and check units and rounding.
AI Paper 2
GDC requiredExtended-response questions connect several steps. Keep intermediate values at full precision and explain how each result answers the context.
For this topic: Define the variable or events, write the probability statement or hypotheses, then calculate. Name the distribution and its parameters; interpret the result using the original population or context.
Paper 3: build a connected argument
Both AA HL and AI HL Paper 3 contain two extended problem-solving questions. A question develops a theme, so keep useful earlier results, test small cases and explain any proposed general rule. A calculator pattern can suggest a result; your mathematical reasoning must support it.
- Identify what the first part establishes and record the conditions under which it holds.
- When a later part introduces a new definition or model, connect it to methods you already know rather than assuming a new formula must have been memorised.
- Check the conclusion against an earlier numerical case and explain its meaning or limitation.
For the first-assessment-2021 courses. IB assessment reference ↗
Find a specific method or formula
Now practise the method
If you opened this guide from a question, return to that tab and try the method without looking at the example. Your answer stays in the question tab.
Practise this subtopic →Want a broader practice session? Explore IB Maths AI HL practice questions →Try free IB Maths exam-style questions and worked solutions →
Original Arc Practice teaching notes for Maths AI. Core and HL sections are distinguished above. These notes follow the first-assessment-2021 course and are not an official IB publication or a complete syllabus checklist. IB course reference. Report a correction.