The t-Distribution and One-Sample Inference

AP Statistics · Unit 4 — Inference for Quantitative Data: Means

Why t instead of z

When $\sigma$ is unknown we estimate it with $s$, and that extra estimation adds uncertainty. The $t$-distribution accounts for it by having heavier tails than the normal, so critical values are larger and intervals wider.

Degrees of freedom: $df=n-1$ for one sample. As $df$ grows, $t$ approaches $z$.

$$\bar x\pm t^*\frac{s}{\sqrt n},\qquad t=\frac{\bar x-\mu_0}{s/\sqrt n}$$

Conditions

That last option matters: with small $n$ you must actually look at a plot of the data and say what you saw.

standard normal z t with small df heavier tails heavier tails the larger the df, the more the red curve lies on top of the black one
The heavy tails of the $t$ distribution. The two curves have the same center, but the red curve ($t$) is lower in the middle and higher in the two tails. Heavy tails mean extreme values happen more often — just as intuition says: when $\sigma$ has to be guessed from the sample, we are more likely to see results far off. That is why $t^*$ is always larger than $z^*$ at the same confidence level, and a $t$ interval is always wider.

Worked example: confidence interval for a mean

A sample with $n=25$ has $\bar x=68.4$, $s=5.2$. Construct a $95\%$ confidence interval for $\mu$ ($t^*=2.064$ with $df=24$).

Solution

Standard error: $\dfrac{s}{\sqrt n}=\dfrac{5.2}{5}=1.04$.

Margin of error: $2.064\times1.04\approx2.147$.

Interval: $68.4\pm2.15$, that is, $(66.25;\ 70.55)$.

Note that if you wrongly use $z^*=1.96$ the margin of error shrinks to just $2.04$ — an interval narrower than reality, that is, overconfident. That is exactly what the $t$ distribution was created to prevent.

Common mistake

With a small $n$, when the question already provides a boxplot or dotplot, you must describe it in the conditions check. Just writing “assume the population is normal” loses points.

Key takeaway

$\sigma$ unknown ⇒ use $t$, $df=n-1$. The normal/large-sample condition must be checked with a graph when $n$ is small.

← The Chi-Square Family, Small Expected Counts and the Link to z · All AP Statistics lessons · Practice AP Statistics questions (free, instant scoring) · Two Samples: Independent or Paired? →