All revision notes topics

4.16 Confidence intervalsIB Maths: Applications and Interpretation HL: Revision notes

Section 1

Point estimates and confidence intervals

A point estimate is one value that estimates a population parameter. The sample mean xˉ\bar{x} estimates μ\mu. An unbiased estimate of the population variance is sn−12=∑(x−xˉ)2n−1s_{n-1}^2=\frac{\sum(x-\bar{x})^2}{n-1}; the GDC gives sn−1s_{n-1} (not σn\sigma_n, which divides by nn). A confidence interval gives a range of plausible values for μ\mu: xˉ±\bar{x}\pm margin of error. The confidence level (for example 95%95\%) says how often the method captures μ\mu: if many random samples were taken and an interval built from each, about 95%95\% of those intervals would contain the true mean. Any one interval either contains μ\mu or it does not.

Key termspoint estimateconfidence levelunbiased estimate
Common mistake

Saying 'there is a 95%95\% probability that μ\mu lies in this interval'. μ\mu is fixed; the 95%95\% describes the method.

Section 2

Interval when the standard deviation is known

If the population is normal with known σ\sigma (or nn is large, by the central limit theorem), then Xˉ∼N(μ,σ2n)\bar{X}\sim N\left(\mu,\frac{\sigma^2}{n}\right) and the interval is xˉ±zσn.\bar{x}\pm z\frac{\sigma}{\sqrt{n}}. The critical value zz leaves half the remaining probability in each tail: 1.6451.645 for 90%90\%, 1.961.96 for 95%95\% and 2.5762.576 for 99%99\% (use the inverse normal on the GDC, for example z=invNorm(0.975)z=\text{invNorm}(0.975)). Example: n=25n=25, xˉ=4.20\bar{x}=4.20, σ=0.6\sigma=0.6: margin =1.96×0.12=0.235=1.96\times0.12=0.235, interval (3.96, 4.44)(3.96,\ 4.44). The GDC has a ZZ-interval option that takes σ\sigma, xˉ\bar{x}, nn and the level.

Key termscritical valuemargin of error
Common mistake

Forgetting n\sqrt{n}, or using σ2\sigma^2 in place of σ\sigma in the margin.

Section 3

Interval when the standard deviation is unknown

When σ\sigma is unknown, replace it with sn−1s_{n-1} and use the tt-distribution with ν=n−1\nu=n-1 degrees of freedom, regardless of sample size (the population is assumed normal): xˉ±tνsn−1n.\bar{x}\pm t_{\nu}\frac{s_{n-1}}{\sqrt{n}}. The tt-distribution is symmetric like the normal but has heavier tails, so tν>zt_\nu>z, especially for small nn. Example: n=12n=12, xˉ=40.375\bar{x}=40.375, sn−1=1.11s_{n-1}=1.11: t11=2.201t_{11}=2.201, margin =2.201×1.1112=0.708=2.201\times\frac{1.11}{\sqrt{12}}=0.708, interval (39.7, 41.1)(39.7,\ 41.1). On the GDC use the TT-interval option with the data list or summary statistics.

Key terms$t$-distributiondegrees of freedom
Common mistake

Using zz because nn is large. In this course σ\sigma unknown means the tt-distribution, regardless of sample size.

Section 4

What affects the width

The width is 2×2\times margin of error. It is smaller for a larger sample (n\sqrt{n} in the denominator), a smaller spread, and a lower confidence level (smaller critical value). A higher confidence level gives a wider interval: more certainty costs precision. Sample size. To get a margin of error at most EE with known σ\sigma, solve zσn≤Ez\frac{\sigma}{\sqrt{n}}\le E, so n≥(zσE)2n\ge\left(\frac{z\sigma}{E}\right)^2, and round up. For z=2.576z=2.576, σ=1.1\sigma=1.1, E=0.2E=0.2: n≥200.7n\ge200.7, so n=201n=201.

Key termswidthsample size
Exam tip

To halve the width you need four times the sample size, because the width depends on 1n\frac{1}{\sqrt{n}}.

Section 5

Interpreting results in context

Always conclude in the context of the question. Typical statements:

  • 'We are 95%95\% confident that the mean mass of cats of this breed lies between 3.963.96 kg and 4.444.44 kg.'
  • If a claimed value lies outside the interval, there is evidence that the true mean differs from the claim at that confidence level; if it lies inside, the data are consistent with the claim (this does not prove it). State the assumptions: a random sample, and a normal population (or a large sample).
Exam tip

Give the interval in the units of the question and to 3 significant figures unless told otherwise.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on 4.16 Confidence intervals

  1. The masses of cats of a certain breed are normally distributed with a known standard deviation of 0.60.6 kg. A random sample of 2525 of these cats has a mean mass of 4.204.20 kg. A confidence interval is to be found for the population mean mass μ\mu.
    The breed society claims that the mean mass of these cats is 4.54.5 kg. Use your interval from (b) to comment on this claim.2 marks
  2. The lifetimes, in hours, of a type of battery are normally distributed with unknown mean μ\mu and unknown standard deviation. The lifetimes of a random sample of 1212 batteries are: 40.2, 38.9, 41.5, 39.8, 42.1, 40.7, 39.3, 41.0, 40.4, 38.6, 41.8, 40.240.2,\ 38.9,\ 41.5,\ 39.8,\ 42.1,\ 40.7,\ 39.3,\ 41.0,\ 40.4,\ 38.6,\ 41.8,\ 40.2. Use your GDC where helpful.
    Use your GDC to find a 95%95\% confidence interval for μ\mu.2 marks
  3. The daily screen time of teenagers, in minutes, is normally distributed with a known standard deviation. A 95%95\% confidence interval for the population mean μ\mu, based on a random sample of 6464 teenagers, is (152.65, 167.35)(152.65,\ 167.35).
    (i) Write down the sample mean. (ii) Find the value of the population standard deviation.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).