In this guide
← Maths AI guides

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.

Start with a small example

Build it from the beginning

HL content

A 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.

  1. The standard error is \(10/\sqrt{100}=1\).
  2. The margin is \(1.96(1)=1.96\).
  3. The interval is [48.04,51.96], using the known-spread normal method.
Try the practice ladder after learning the methods ↓

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.

01

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

  1. Identify the population parameter, sampling design and spread information.
  2. Select the matching critical value and standard error.
  3. State the interval with units and its correct confidence interpretation.
02

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.

The formula

\(\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.

  1. The standard error is 10/√100=1.
  2. Use standard-normal critical value approximately 1.959964.
  3. The interval is approximately \([48.0400,51.9600]\).
  4. 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.

  1. Use 24 degrees of freedom and standard error 5/√25=1.
  2. The two-sided critical t value is about 2.063899.
  3. The interval is approximately \([7.93610,12.06390]\).
  4. 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

-6-303600.20.40.60.8Centred valueDensity
  • Individuals: SD = 2
  • Means of 16: SD = 0.5
The narrow sampling-mean curve illustrates the square-root reduction in standard error. Confidence-interval width depends on this sampling spread and the chosen critical value; it does not describe the spread of individual measurements.

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.

The formula

\(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.

Known-spread interval

\(\bar x\pm z^*\frac{\sigma}{\sqrt n}\).

Return to the explanation →

Sample-size planning

\(n\ge\left(\frac{z^*\sigma}{M}\right)^2\).

Return to the explanation →

Learn to diagnose an error

Spot the mistake

The statement below is incorrect. Identify the missing condition or reasoning before opening the explanation.

Incorrect reasoning

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.

03

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.

Worked application

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?

  1. A sample cannot contain 96.04 observations.
  2. Rounding to 96 would fall below the required bound.
  3. Use at least 97 under this planning model.
  4. Check the resulting margin and round the final reported interval only after the calculation.
Pause and explain

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.
04

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. 1

    Build confidence

    HL extension

    Keep 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
    1. The margin is \(1.96(10/20)=0.98\).
    2. The interval is [49.02,50.98].
  2. 2

    Apply and explain

    HL extension

    If 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
    1. For the course normal-population mean method, use the appropriate t-distribution with n-1 degrees of freedom.
    2. Do not silently replace known population spread with a sample estimate while keeping the z procedure.
  3. 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. 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 required

Short-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 required

Extended-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.

HL only · GDC required

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.

  1. Identify what the first part establishes and record the conditions under which it holds.
  2. 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.
  3. 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.