| Study Guides
Statistics · Inference for Quantitative Data: Means · 14 min read · Updated 2026-05-11

Confidence Intervals for a Population Mean — AP Statistics

AP Statistics · Inference for Quantitative Data: Means · 14 min read

1. Core Concepts and the t-Distribution ★★☆☆☆ ⏱ 3 min

A confidence interval for a population mean gives a range of plausible values for the true unknown population mean $µ$, based on a random sample of quantitative data. Almost never do we know the true population standard deviation $σ$, so we use the t-distribution instead of the normal (z) distribution to account for extra variability from estimating $σ$ with the sample standard deviation $s$.

ar{x} \pm t^* \left(\frac{s}{\sqrt{n}}\right)

The term $t^*\left(\frac{s}{\sqrt{n}}\right)$ is the margin of error ($ME$), the maximum distance we expect our sample estimate to be from the true population mean at the chosen confidence level. As degrees of freedom increase, the t-distribution converges to the standard normal distribution.

Exam tip: On the AP exam, you will never lose points for using a t-interval when $σ$ is unknown, even for large sample sizes.

2. Conditions for Valid Inference ★★☆☆☆ ⏱ 3 min

On AP Statistics FRQs, you must explicitly state and check all three conditions to earn full credit for a confidence interval. The three required conditions are:

  1. **Random**: Data comes from a random sample from the population of interest, or a randomized experiment.
  2. **Independent**: Individual observations are independent. When sampling without replacement, verify the 10% condition: $n < 10\%$ of the total population.
  3. **Normal/Large Sample**: The sampling distribution of $\bar{x}$ is approximately normal. This holds if $n \geq 30$ (Central Limit Theorem), or for $n < 30$, the sample has no extreme outliers or strong skewness.

Exam tip: If the problem does not explicitly state the sample is random, you must write "we assume the sample is random" to earn credit for this condition.

3. Two-Sample Confidence Intervals for Difference in Means ★★★☆☆ ⏱ 4 min

We use a two-sample t-interval when we have two independent samples from two different populations, and we want to estimate the difference between their true population means $µ_1 - µ_2$. This is commonly used to compare average values of a quantitative variable across two groups.

(\bar{x}_1 - \bar{x}_2) \pm t^* \sqrt{\frac{s_1^2}{n_1} + \frac{s_2^2}{n_2}}

For the AP exam, the conservative degrees of freedom (always accepted for full credit) is $df = \min(n_1 - 1, n_2 - 1)$. Calculator approximations for df give slightly narrower intervals, but both methods are acceptable.

Exam tip: If 0 is inside your two-sample confidence interval for the difference in means, that means no difference between the population means is plausible, a result AP examiners test frequently.

4. Sample Size Determination for Desired Margin of Error ★★★☆☆ ⏱ 3 min

Before collecting data, researchers calculate the minimum sample size needed to achieve a maximum desired margin of error. Because we do not have a sample standard deviation $s$ before data collection, we use a prior estimate of $σ$ from a pilot study or previous research, and use the z-distribution for calculation. The difference between $t^*$ and $z^*$ is negligible for the large sample sizes produced by this method.

n = \left( \frac{z^* \sigma^*}{ME} \right)^2

We always round up to the next whole number, regardless of the decimal part. Rounding down would produce a margin of error larger than the maximum allowed.

Exam tip: Never follow standard rounding rules for sample size calculation. Even 65.1 rounds up to 66, because any decimal means you need one additional observation to meet the margin of error requirement.

Common Pitfalls

Why: Students confuse mean intervals with proportion intervals, or assume $z$ is fine for large $n$.

Why: The true mean is fixed, not random; the confidence level describes the method, not a single interval.

Why: Students remember the random and normal conditions but skip the independence condition.

Why: Students use standard rounding rules instead of the special rule for sample size calculation.

Why: Students overstate the conclusion from the interval; the interval only gives plausible values, not proof of equality.

Why: Students assume randomness if it is not mentioned, but AP requires explicit acknowledgement.

Quick Reference Cheatsheet

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →