DP Math AI · HL · Statistics and Probability

AHL 4.16—Confidence intervals

Get started
Notes

What is a Confidence Interval?

When we collect a sample from a population, we can calculate a sample mean xˉ. But this is just a point estimate , a single number that almost certainly isn't exactly equal to the true population mean μ. A confidence interval gives us a range of plausible values for μ, along with a stated level of confidence.

Confidence Interval: A confidence interval (CI) is an interval estimate of a population parameter, constructed from sample data, that is designed to contain the true parameter value with a specified probability (the confidence level).

Confidence Level: The confidence level, denoted (1−α) and usually expressed as a percentage (e.g., 90%, 95%, 99%), represents the proportion of all possible confidence intervals (constructed using the same method) that would contain the true population parameter.

A confidence interval is always written in the form:
(xˉ−E,xˉ+E)
where E is called the margin of error. The margin of error depends on:

  • The chosen confidence level
  • The sample size n
  • The variability in the data (σ or s)
Analogy

Think of a confidence interval like casting a net to catch a fish (the true mean). A 95% confidence level means your net-casting method catches the fish 95% of the time. Any single cast either catches the fish or it doesn't , but you trust the method.

The Two Scenarios: Known vs Unknown σ

The formula you use to construct a confidence interval for a population mean depends entirely on whether the population standard deviation σ is known or unknown.

SituationDistribution UsedCritical Value
σ knownStandard Normal (z)zα/2​
σ unknownt-distributiontα/2,n−1​
Note

In IB AHL 4.16, the t-distribution is used whenever σ is unknown , regardless of sample size. This is a key distinction from some older rules of thumb that switched to normal for large samples.

Exam Tip

In nearly every real-world problem, you will not know σ, so you will almost always use the t-distribution. If a question explicitly states the population standard deviation, use z. If it gives you a sample standard deviation s, use t.

Free preview

9 more sections in this topic

← Previous topicAHL 4.15—Central limit theoremNext topic →AHL 4.17—Poisson distribution
Koncepts

Learn it properly. Then practise like it's the real paper.

Start free

Features

  • Lessons
  • Past papers
  • Library
  • Homework Help
  • Duels

More

  • For parents
  • Compare
  • Plans & pricing
  • DP for students

Legal

  • Privacy
  • Terms
  • Account deletion

© 2026 Koncepts (product of PrepAiro, Inc). All rights reserved.
DP, IB, EE and TOK are terms of the International Baccalaureate Organization.

Made for IB DP students.