Historical Context & Motivation
Imagine you want to know the average height of every 16-year-old in your country. Measuring every single person would be impossible, so instead you measure a sample and try to draw conclusions about the whole population. But how confident can you be in those conclusions? This question drove statisticians for over a century to develop the tools of confidence intervals and hypothesis testing — two of the most powerful ideas in modern statistics.
Today, the IB Mathematics: Applications and Interpretation course expects you to harness technology — your GDC (graphic display calculator) or statistical software — to construct confidence intervals and perform hypothesis tests efficiently. The central question this topic addresses is: Given limited sample data, how can we make reliable, quantified claims about an entire population?
Core Principles & Definitions
Before diving into calculations, you need a solid grasp of the foundational vocabulary and ideas. Confidence intervals and hypothesis tests are two sides of the same coin — both use sample statistics to make inferences about population parameters. A parameter is a fixed but usually unknown number describing the whole population (such as the true population mean μ), while a statistic is a value calculated from your sample (such as the sample mean x̄).
Confidence Interval (CI)
Confidence Level
Null Hypothesis (H₀)
Alternative Hypothesis (H₁)
p-Value
Visualising Confidence Intervals
A confidence interval is built around the sample mean. The diagram below shows how a 95% confidence interval relates to the normal distribution. The interval stretches from the sample mean minus the margin of error to the sample mean plus the margin of error, capturing the central 95% of the sampling distribution.
Notice that the confidence interval is centred on the sample mean x̄, not on the unknown population mean μ. The width of the interval depends on three things: the confidence level (which determines the z-value), the population standard deviation σ (or sample standard deviation s), and the sample size n. Larger samples produce narrower, more precise intervals because the denominator √n grows.
Mathematical Framework
In the IB Applications and Interpretation HL course, you will use your GDC or technology to compute confidence intervals and p-values. However, understanding the formulas behind these calculations helps you interpret the results correctly and know when each test is appropriate.
Confidence Interval for a Population Mean
Hypothesis Test for a Population Mean
The Hypothesis Testing Decision Process
Hypothesis testing follows a structured, step-by-step process. The flowchart below shows the complete decision pathway from setting up the hypotheses to writing your final conclusion. Every IB question expects you to follow these steps in order.
Common Significance Levels and z-Values
| Confidence Level | Significance Level (α) | Critical z* (two-tailed) |
|---|---|---|
| 90% | 0.10 | 1.645 |
| 95% | 0.05 | 1.960 |
| 99% | 0.01 | 2.576 |
Notice the inverse relationship: as the confidence level increases, the significance level α decreases, and the critical z-value increases. This means you need stronger evidence (a more extreme sample) to reject H₀ at a higher confidence level. On the IB exam, if no significance level is stated, the default is α = 0.05 (5%).
Worked Example: CI and Hypothesis Test Using Technology
A school nurse claims that the mean resting heart rate of students at the school is 72 beats per minute (bpm). A sample of 35 students is taken, yielding a sample mean of x̄ = 75.2 bpm and a sample standard deviation of s = 8.4 bpm. Test the nurse's claim at the 5% significance level using a two-tailed t-test, and construct a 95% confidence interval for the true mean heart rate.
Strengths, Limitations & Common Errors
Confidence intervals and hypothesis tests are incredibly useful, but they are not foolproof. Understanding their strengths and limitations helps you avoid the most common mistakes IB students make on exams.
| Aspect | Strengths | Limitations / Common Errors |
|---|---|---|
| Interpretation of CI | Gives a plausible range for the parameter, not just a single estimate. | A 95% CI does NOT mean there is a 95% probability the true mean is in this specific interval. The true mean is either in it or not. The 95% refers to the long-run success rate of the method. |
| p-value | Quantifies the strength of evidence against H₀ on a continuous scale. | A p-value is NOT the probability that H₀ is true. It is the probability of getting data this extreme IF H₀ were true. |
| Conclusion language | Provides a structured, repeatable decision process. | Never say "accept H₀." You can only "fail to reject" or "do not reject" H₀. Absence of evidence is not evidence of absence. |
| Sample size | Larger n → narrower CI and more powerful tests. | With a very large sample, even a trivially small difference can be "statistically significant" while being practically meaningless. |
| Errors | Framework explicitly accounts for Type I error (α) and Type II error (β). | Type I error: rejecting H₀ when it is actually true (false alarm). Type II error: failing to reject H₀ when it is actually false (missed detection). You cannot reduce both simultaneously without increasing n. |
Connection to Advanced Concepts
The one-sample t-test and z-interval you have learned are just the starting point of a much broader family of inference methods. As you advance, you will encounter tests that compare two means, test proportions, examine relationships between variables, and more. The table below shows how what you've learned connects to these extensions.
| What You Know Now | Extension | When It's Used |
|---|---|---|
| One-sample t-test (H₀: μ = μ₀) | Two-sample t-test | Comparing means of two independent groups (e.g., do boys and girls differ in resting heart rate?) |
| CI for a mean | CI for a proportion | Estimating the true proportion of a population with a given characteristic (e.g., % of voters supporting a policy) |
| t-test (numerical data) | Chi-squared (χ²) test | Testing independence or goodness of fit for categorical data (AHL 4.11) |
| Testing one parameter | ANOVA (Analysis of Variance) | Comparing means across three or more groups simultaneously |
The fundamental logic remains identical across all these methods: you state hypotheses, collect data, compute a test statistic and p-value using technology, and compare the p-value to α. Mastering this core process now will make every future test feel like a natural extension rather than something entirely new. In the IB HL course, you will also explore the relationship between confidence intervals and hypothesis tests more deeply, seeing that they are two different lenses on the same underlying statistical reasoning.
Practice Problems
Lesson Summary
A confidence interval provides a range of plausible values for a population parameter, computed as x̄ ± (critical value) × (s / √n). The confidence level (typically 90%, 95%, or 99%) describes the long-run reliability of the method. Hypothesis testing follows a five-step process: state H₀ and H₁, choose a significance level α, use your GDC to find the p-value, and compare it to α. If p < α, reject H₀ and conclude there is sufficient evidence to support H₁; otherwise, do not reject H₀.
For a two-tailed test at level α, the confidence interval and hypothesis test always agree: rejecting H₀ corresponds to μ₀ falling outside the (1 − α) CI. Use a t-test when σ is unknown (almost always in practice) and let your GDC handle the computations. Always write your conclusion in context, and remember that statistical significance does not imply practical importance.