Back in Lesson 16 you found probabilities about a sample mean x̄ using z = (x̄ − μ) / (σ/√n). That formula has a hidden luxury baked into it: it assumes you know the population standard deviation σ.
Be honest — when would you ever actually know σ? If you don't even know the population mean μ (that's the whole reason you're sampling), how would you magically know its standard deviation? You almost never do. In real studies you estimate σ from the same sample, using the sample standard deviation s.
That seems harmless, but it isn't free. s is itself a noisy estimate — it bounces around from sample to sample, especially when n is small. Pretending s is as trustworthy as a known σ would make us overconfident: our intervals would be too narrow and our p-values too small. Statisticians fixed this in 1908 with a new curve — the t-distribution — that builds the extra uncertainty right in. That's today's lesson, and it powers nearly every "mean" problem on the AP exam.
When we make inferences about a population mean and we do not know σ, we replace it with the sample SD s. The standardized statistic becomes
t = (x̄ − μ) / (s/√n)
This looks just like a z-score, but the denominator now contains a random quantity, s. Because s varies from sample to sample, t has more variability than a z-score would. Its distribution is no longer the standard Normal — it's a t-distribution.
A t-distribution is:
df = n − 1. Each df gives a slightly different curve.df = 30 or so the t-curve is nearly Normal, and in the limit they coincide.The "heavier tails" is the whole point: to capture the same 95% of the area, a t-distribution has to reach farther from center than the Normal does. So the critical value t is always larger than the matching z — and it shrinks toward z* as n grows.
[GRAPH: Two density curves overlaid on the same axes, both symmetric and
centered at 0, horizontal axis from −4 to 4. A solid "Normal (z)" curve is
taller at the peak and pinches in close to the axis near ±3. A dashed
"t, df = 5" curve is slightly shorter at the peak and visibly thicker in
both tails — more area beyond ±2. A short caption arrow points to the right
tail: "t has more area out here → larger t* needed." A second note reads
"As df → ∞, the dashed t-curve merges into the solid Normal curve."]
For reference, the right-tail critical values for 95% confidence show the pattern clearly:
| df | t* (95%) | z* (95%) |
|---|---|---|
| 9 | 2.262 | 1.960 |
| 14 | 2.145 | 1.960 |
| 19 | 2.093 | 1.960 |
| 29 | 2.045 | 1.960 |
| ∞ | 1.960 | 1.960 |
Every t* exceeds 1.960, and they march down toward it as df climbs.
Before any t-interval or t-test, check:
n ≤ 0.10N so observations are effectively independent.x̄ must be approximately Normal. You satisfy this any one of three ways:- The problem states the population is Normal, or
- The sample is large, n ≥ 30 (Central Limit Theorem), or
- The sample is small but a graph of the sample data (dotplot, histogram, boxplot) shows no strong skew and no outliers.
That third condition is the one AP readers scrutinize. With a small n, you must actually appeal to a graph — you cannot just assert Normality.
To estimate an unknown mean μ:
x̄ ± t·(s/√n)wheredf = n − 1andtmatches the confidence level.
The piece t*·(s/√n) is the margin of error, and s/√n is the standard error of the mean.
Full PANIC interval. A laptop maker tests the battery life (hours) of a random sample of 20 units of a new model. The sample mean is x̄ = 11.4 hours with s = 1.8 hours; a dotplot of the 20 values is roughly symmetric with no outliers. Construct a 95% confidence interval for the true mean battery life.
P — Parameter. Let μ = the true mean battery life (hours) of all units of this laptop model. We want a 95% confidence interval for μ.
A — Assumptions.
N ≥ 200, clearly true). ✓n = 20 < 30, but the dotplot is roughly symmetric with no outliers, so it's reasonable that x̄ is approximately Normal. ✓N — Name. One-sample t-interval for a mean, df = n − 1 = 19.
I — Interval.
t* (95%, df = 19) = 2.093 ← from the t-table / invT
SE = s/√n = 1.8/√20 = 1.8/4.47214 = 0.40249
ME = t* · SE = 2.093 × 0.40249 = 0.84241
CI = 11.4 ± 0.8424 = (10.558, 12.242)
C — Conclusion in context. We are 95% confident that the interval from 10.56 to 12.24 hours captures the true mean battery life of all units of this laptop model.
Confirm on the calculator:
TI-84: STAT → TESTS → TInterval
Inpt: Stats
x̄ = 11.4, Sx = 1.8, n = 20, C-Level = 0.95
Calculate
Output: (10.558, 12.242)
x̄ = 11.4, Sx = 1.8, n = 20
The calculator's (10.558, 12.242) matches our by-hand interval exactly.
To test a claim H0: μ = μ0:
t = (x̄ − μ0) / (s/√n)withdf = n − 1, p-value fromtcdf.
Unlike the proportion test, there's no special "use the null value in the SE" rule here — the standard error is always s/√n, because s is our only estimate of σ either way.
Full PANIC test. A city claims the mean morning commute is 30 minutes. A traffic analyst suspects it's actually longer. She times a random sample of 15 morning commutes and gets x̄ = 33.2 minutes, s = 6.5 minutes; a boxplot of the 15 times shows no outliers and only mild skew. Test at α = 0.05.
P — Parameter and hypotheses. Let μ = the true mean morning commute time (minutes).
H0: μ = 30vs.Ha: μ > 30(one-sided, right tail — "longer").
A — Assumptions.
n = 15 < 30, but the boxplot shows no outliers and only mild skew, so it's reasonable to treat x̄ as approximately Normal. ✓N — Name. One-sample t-test for a mean, df = 14, α = 0.05.
I — Test statistic and p-value.
SE = s/√n = 6.5/√15 = 6.5/3.87298 = 1.67829
t = (x̄ − μ0)/SE = (33.2 − 30)/1.67829 = 3.2/1.67829 = 1.9067
df = 15 − 1 = 14
p-value = tcdf(1.9067, 1E99, 14) = 0.0387 ← right tail, Ha: μ > 30
C — Conclusion in context. Because the p-value ≈ 0.0387 < α = 0.05, we reject H0. There is convincing statistical evidence that the true mean morning commute time is greater than 30 minutes.
Confirm on the calculator:
TI-84: STAT → TESTS → T-Test
Inpt: Stats
μ0 = 30, x̄ = 33.2, Sx = 6.5, n = 15
μ: > μ0 (right tail, matches Ha)
Calculate
Output: t = 1.9067, p = 0.0387, x̄ = 33.2, Sx = 6.5, n = 15
The calculator's t = 1.9067 and p = 0.0387 match our by-hand work exactly.
If you're given raw data instead of summary stats, choose Inpt: Data, point the routine at your list (e.g., List: L1), and the calculator computes x̄ and Sx for you before running the test.
Problem. A barista records the brew temperature (°F) of a random sample of 12 espresso shots: x̄ = 152.5, s = 4.2. A dotplot of the 12 temperatures is roughly symmetric with no outliers. Construct a 90% confidence interval for the true mean brew temperature.
P. Let μ = the true mean brew temperature (°F) of all this machine's espresso shots.
A. Random ✓ (random sample). 10% ✓ (12 ≤ 10% of all shots the machine will make). Normal/Large Sample: n = 12 < 30, but the dotplot is roughly symmetric with no outliers, so x̄ is approximately Normal. ✓
N. One-sample t-interval, df = 11.
I.
t* (90%, df = 11) = 1.7959
SE = 4.2/√12 = 4.2/3.46410 = 1.21244
ME = 1.7959 × 1.21244 = 2.1774
CI = 152.5 ± 2.1774 = (150.32, 154.68)
TInterval (x̄=152.5, Sx=4.2, n=12, C=.90): (150.32, 154.68)
C. We are 90% confident that the true mean brew temperature is between 150.32°F and 154.68°F.
Problem. A cereal company advertises a net weight of 16 oz. A consumer group suspects boxes are underfilled. A random sample of 10 boxes gives x̄ = 15.6 oz, s = 0.55 oz; a histogram of the 10 weights shows no strong skew or outliers. Test at α = 0.05.
P. Let μ = the true mean net weight (oz) of all boxes.
H0: μ = 16 vs. Ha: μ < 16 (left-tailed — "underfilled").
A. Random ✓. 10% ✓ (10 ≤ 10% of all boxes produced). Normal/Large Sample: n = 10 < 30, but the histogram shows no strong skew or outliers, so x̄ is approximately Normal. ✓
N. One-sample t-test, df = 9, α = 0.05.
I.
SE = 0.55/√10 = 0.55/3.16228 = 0.17393
t = (15.6 − 16)/0.17393 = −0.4/0.17393 = −2.2998
p-value = tcdf(−1E99, −2.2998, 9) = 0.0235 ← left tail, Ha: μ < 16
T-Test (μ0=16, x̄=15.6, Sx=0.55, n=10, μ<μ0): t = −2.2998, p = 0.0235
C. Because the p-value ≈ 0.0235 < 0.05, we reject H0. There is convincing evidence that the true mean net weight is less than 16 oz — the boxes are underfilled on average.
Problem. For each scenario, state whether the Normal/Large Sample condition for a one-sample t procedure is satisfied, and why.
(a) n = 8; the population is stated to be Normally distributed.
(b) n = 45; the sample data are strongly right-skewed.
(c) n = 12; a dotplot of the sample shows a clear high outlier and right skew.
Solution.
x̄ is exactly Normal for any n, even n = 8.n = 45 ≥ 30, so by the Central Limit Theorem the sampling distribution of x̄ is approximately Normal despite the skew in the raw data. (Large n rescues skew.)n = 12 < 30, and the only way to justify Normality at small n is a graph free of strong skew and outliers — but this graph has both a clear outlier and right skew. A t procedure is not appropriate here.Problem. Researchers measure resting heart rate (bpm) for a random sample of 25 adults and report a 95% one-sample t-interval of (63.41, 73.39) bpm (from x̄ = 68.4, s = 12.1, df = 24, t = 2.064). (a) Interpret the interval. (b) Interpret the confidence level*. (c) A trainer claims the true mean resting heart rate is 60 bpm. Does the interval support that claim?
Solution.
(63.41, 73.39), so 60 is not a plausible value for the true mean. The data give convincing evidence against the trainer's claim of 60 bpm; the true mean appears to be higher.z instead of t. When σ is unknown and you estimate it with s, the critical value must come from the t-distribution with df = n − 1, not the Normal. Using z = 1.96 for a 95% interval makes your margin of error too small (under-covers). Reach for t whenever you see s.df = n − 1, not n. With n = 20, df = 19. Using df = 20 (or, worse, df = n for some other procedure) gives the wrong t* and the wrong p-value. Single sample ⇒ df = n − 1, every time.s when σ is actually given. Read carefully. If a problem genuinely states the population standard deviation σ (rare, but it happens in textbook setups), you'd use a z procedure, not t. The trigger for t is that σ is unknown and you're plugging in the sample SD s. Don't reflexively run a t-test if the problem handed you σ.n, you cannot just write "Normal ✓." You must either cite that the population is stated Normal, that n ≥ 30 (CLT), or that a graph of the sample shows no strong skew/outliers. "The sample is large enough" when n = 12 earns nothing.s/√n. (There is no "null value" substitution like there was for proportions.) Don't overthink it.MC 1. Compared with the standard Normal distribution, a t-distribution with df = 8:
MC 2. A one-sample t-interval is built from a sample of size n = 16. The degrees of freedom are:
MC 3. As the degrees of freedom increase, the t-distribution:
MC 4. For a 95% confidence interval with df = 14, the critical value t* is closest to:
MC 5. Which situation calls for a t procedure rather than a z procedure for a mean?
n = 50.s.MC 6. A one-sample t-test for H0: μ = 50 vs. Ha: μ ≠ 50 gives t = 2.40 with df = 12. The p-value is closest to:
MC 7. A right-tailed one-sample t-test (Ha: μ > μ0) gives t = 1.85 with df = 9. The p-value is closest to:
MC 8. A 95% t-interval for a mean is (12.3, 18.7). Which statement is the correct interpretation?
MC 9. Increasing the sample size n (holding s and x̄ fixed) does which of the following to a t-interval's margin of error?
t* only, with no effect on the margin.Short Answer 10 (in context). A botanist measures the heights (cm) of a random sample of 8 seedlings: x̄ = 24.5, s = 3.1. A dotplot is roughly symmetric with no outliers. Construct and interpret a 95% confidence interval for the true mean seedling height (full PANIC).
Short Answer 11 (in context). A bottling line is supposed to dispense μ = 5.0 L. A technician suspects the true mean differs from 5.0 in either direction. A random sample of 22 fills gives x̄ = 4.85 L, s = 0.62 L; a histogram shows no strong skew or outliers. Carry out a full PANIC t-test at α = 0.05.
Short Answer 12. A study reports a one-sample t-test with n = 30, x̄ = 0.42 s, s = 0.08 s, testing H0: μ = 0.45 vs. Ha: μ < 0.45. Compute df, the test statistic, and the p-value, and state the decision at α = 0.05.
Short Answer 13. Explain in one or two sentences why the critical value t for a 95% interval is always larger than z = 1.96.
Short Answer 14. A sample of n = 18 is strongly right-skewed with a clear high outlier. A student wants to run a one-sample t-interval. Is the Normal/Large Sample condition met? Explain.
Short Answer 15. A 90% t-interval for a mean is (40.2, 47.8). What is the point estimate x̄, and what is the margin of error?
Statistical Practices 3 (Analyze) + 4 (Interpret)
A nutrition watchdog is concerned that a popular brand of canned soup contains more sodium than the 140 mg per serving printed on the label. An inspector selects a random sample of 16 cans and measures the sodium content (mg) per serving. The sample has a mean of
x̄ = 146.2 mgand a standard deviation ofs = 11.8 mg. A dotplot of the 16 measurements is roughly symmetric with no outliers.(a) State the hypotheses for an appropriate significance test, defining any parameter. (2 pts)
(b) Identify the appropriate procedure and verify that the conditions for inference are met. (3 pts)
(c) Calculate the test statistic, the degrees of freedom, and the p-value. (3 pts)
(d) At the
α = 0.05significance level, state your conclusion in the context of the problem. (2 pts)
(a) Parameter and hypotheses.
Let μ = the true mean sodium content (mg per serving) of all cans of this brand of soup.
H0: μ = 140vs.Ha: μ > 140
The alternative is one-sided (right-tailed) because the watchdog suspects the true mean is more than the labeled 140 mg.
(b) Procedure and conditions.
Procedure: a one-sample t-test for a mean (σ is unknown, estimated by s).
N ≥ 160, clearly true). ✓n = 16 < 30, but the dotplot of the 16 measurements is roughly symmetric with no outliers, so it is reasonable that the sampling distribution of x̄ is approximately Normal. ✓(c) Test statistic, df, and p-value.
SE = s/√n = 11.8/√16 = 11.8/4 = 2.95
t = (x̄ − μ0)/SE = (146.2 − 140)/2.95 = 6.2/2.95 = 2.1017
df = n − 1 = 16 − 1 = 15
p-value = tcdf(2.1017, 1E99, 15) = 0.0264 ← right tail, Ha: μ > 140
T-Test (μ0=140, x̄=146.2, Sx=11.8, n=16, μ>μ0): t = 2.1017, p = 0.0264
(d) Conclusion in context.
Because the p-value ≈ 0.0264 < α = 0.05, we reject H0. There is convincing statistical evidence that the true mean sodium content of this brand of soup is greater than 140 mg per serving (more than the label states).
| Part | Criterion | Points |
|---|---|---|
| (a) | Defines parameter μ in context (the true mean sodium content per serving) | 1 |
| (a) | Correct hypotheses H0: μ = 140, Ha: μ > 140 (right-tailed) | 1 |
| (b) | Names the one-sample t-test for a mean (recognizes σ unknown ⇒ t) | 1 |
| (b) | States Random and 10% conditions tied to context | 1 |
| (b) | Correctly justifies Normal/Large Sample (small n ⇒ cites symmetric dotplot, no outliers) | 1 |
| (c) | Correct SE = s/√n and test statistic t ≈ 2.10 | 1 |
| (c) | Correct degrees of freedom df = n − 1 = 15 | 1 |
| (c) | Correct p-value ≈ 0.026 (right tail) | 1 |
| (d) | Correct decision linked to comparing p-value with α (0.026 < 0.05 → reject H0) | 1 |
| (d) | Conclusion in context with direction (evidence that μ > 140) | 1 |
| Total | 10 |
z*/normalcdf anywhere — σ is unknown, so it must be a t procedure. Also: writing "Normal ✓" at n = 16 with no appeal to the dotplot loses the Normal/Large Sample point.df = 16 instead of 15 — wrong df ⇒ wrong p-value, and forfeits the df point. Reporting the left-tail area (≈ 0.974) instead of the right tail loses the p-value point.t = 2.10, p = 0.026 with no SE setup, df, or labeled conditions can cap part (c) — show SE = s/√n, state df = n − 1, and name the T-Test routine.MC 1 — (C). Every t-distribution is symmetric and bell-shaped but has heavier tails than the Normal, reflecting the extra uncertainty from estimating σ. (A) is false — they coincide only as df → ∞. (B) t is never skewed. (D) describes the Normal relative to t, backwards.
MC 2 — (B). df = n − 1 = 16 − 1 = 15. (A) uses n. (C) subtracts 2. (D) adds 1.
MC 3 — (B). As df grows, the tails thin out and the t-curve approaches the standard Normal. (A)/(D) t stays symmetric and centered at 0. (C) is backwards — tails get lighter, not heavier.
MC 4 — (C). t for 95% with df = 14 is 2.145 (invT(0.975, 14)). (A) is a 90% z-value. (B) is z, the limit as df → ∞ — too small for df = 14. (D) is roughly a 99% z-ish value, too large.
MC 5 — (B). Use t exactly when σ is unknown and estimated by s. (A)/(D) σ known ⇒ z. (C) proportions use a z procedure, not a t for means.
MC 6 — (B). Two-sided: p = 2 × tcdf(2.40, 1E99, 12) = 2 × 0.0168 = 0.0335 ≈ 0.034. (A) is the one-tail area (forgot to double). (C)/(D) are left-of-t complements — wrong region.
MC 7 — (A). Right-tailed: p = tcdf(1.85, 1E99, 9) = 0.0487 ≈ 0.049. (B) doubles it (that's a two-sided value). (C) is the left-tail area — wrong tail. (D) is unrelated.
MC 8 — (C). The 95% refers to the method's long-run capture rate: we're 95% confident the interval captures the true mean. (A) confuses the interval with the spread of data. (B) misstates it as a probability about a fixed mean. (D) describes a sampling distribution, not the interval.
MC 9 — (B). Larger n shrinks s/√n and lowers t, so the margin of error decreases. (A) is backwards. (C) ignores the √n. (D) is incomplete — both t and the SE shrink.
SA 10. μ = true mean seedling height (cm). Random ✓; 10% ✓ (8 ≤ 10% of all seedlings); Normal/Large Sample: n = 8 < 30 but the dotplot is symmetric with no outliers ✓. One-sample t-interval, df = 7, t* = 2.3646.
`
SE = 3.1/√8 = 3.1/2.82843 = 1.09603
ME = 2.3646 × 1.09603 = 2.5917
CI = 24.5 ± 2.5917 = (21.91, 27.09)
TInterval (x̄=24.5, Sx=3.1, n=8, C=.95): (21.908, 27.092)
`
Interpretation: We are 95% confident the interval from 21.91 to 27.09 cm captures the true mean seedling height.
SA 11. μ = true mean fill volume (L). H0: μ = 5.0 vs. Ha: μ ≠ 5.0 (two-sided — "differs in either direction"). Random ✓; 10% ✓; Normal/Large Sample: n = 22 < 30 but histogram shows no strong skew/outliers ✓. One-sample t-test, df = 21.
`
SE = 0.62/√22 = 0.62/4.69042 = 0.13218
t = (4.85 − 5.0)/0.13218 = −0.15/0.13218 = −1.1348
p-value = 2 × tcdf(−1E99, −1.1348, 21) = 2 × 0.13463 = 0.2693
T-Test (μ0=5, x̄=4.85, Sx=0.62, n=22, μ≠μ0): t = −1.1348, p = 0.2693
`
Since 0.2693 > 0.05, fail to reject H0. There is not convincing evidence that the true mean fill volume differs from 5.0 L.
SA 12. df = 30 − 1 = 29.
`
SE = 0.08/√30 = 0.08/5.47723 = 0.014606
t = (0.42 − 0.45)/0.014606 = −0.03/0.014606 = −2.054
p-value = tcdf(−1E99, −2.054, 29) = 0.0246 ← left tail, Ha: μ < 0.45
`
Since 0.0246 < 0.05, reject H0 — convincing evidence that μ < 0.45 s.
SA 13. Because the t-distribution has heavier tails than the Normal, more of its area sits far from center; to enclose the middle 95% the critical value must reach farther out, so t* > 1.96. (The gap shrinks toward 0 as df → ∞.)
SA 14. No. With n = 18 < 30, Normality must be justified by a graph free of strong skew and outliers — but this sample is strongly right-skewed and has a clear high outlier. The Normal/Large Sample condition fails, so a one-sample t procedure is not appropriate.
SA 15. The point estimate is the midpoint: x̄ = (40.2 + 47.8)/2 = 44.0. The margin of error is half the width: ME = (47.8 − 40.2)/2 = 7.6/2 = 3.8.
See the model response and rubric in section (f). Key recomputed values: SE = 11.8/√16 = 2.95, t = (146.2 − 140)/2.95 = 2.1017, df = 15, right-tailed p-value = tcdf(2.1017, 1E99, 15) = 0.0264. Verified against T-Test: t = 2.1017, p = 0.0264. Decision: 0.0264 < 0.05 → reject H0; convincing evidence that μ > 140 mg.
StatsIQ · Lesson 26 of 30 · Unit 4: Inference for Quantitative Data: Means · Phase 5
This lesson is study material aligned to the new 2026–27 AP Statistics Course and Exam Description (first exam May 2027). "AP" is a trademark of the College Board, which was not involved in the production of and does not endorse this product.
Accuracy review: All critical values, test statistics, degrees of freedom, interval endpoints, and p-values were recomputed independently and confirmed against TI-84 TInterval and T-Test output. Degrees of freedom use df = n − 1 throughout, and every t procedure uses the standard error s/√n. Reviewed for statistical accuracy by a retired actuary.