---
title: "Use t. σ is unknown. | FiveStudy"
description: "A school nurse weighs a random sample of 25 backpacks from 640 students and gets x̄ = 14.2 pounds with s = 3.5 pounds. She wants a range of plausible values for the mean weight of all 640 packs. The s"
url: https://fivestudy.com/guides/apstats-4-2-ci-for-a-mean
---

[AP Statistics](https://fivestudy.com/ap-statistics) · Study guide

# Use t. σ is unknown.

[Figure: FiveStudy]

FiveStudy

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

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

# A Confidence Interval for a *Mean*

How to estimate a population mean, or the mean difference in matched pairs, with a one-sample t-interval: t-distributions, the parameter, the three conditions, and the standard error, margin of error and interval.

1. Why t? 2. Parameter and conditions 3. The interval 4. Matched pairs

The idea in one paragraph

The population standard deviation \(\sigma\) is almost never known, so the interval uses the sample’s \(s\) instead. That extra uncertainty is handled by using a critical value \(t^*\) from a t-distribution with \(n - 1\) degrees of freedom. The interval is \(\bar{x} \pm t^* \dfrac{s}{\sqrt{n}}\). For matched pairs, compute the difference within each pair and apply the same interval to the differences.

## 1 Why t instead of z?

t-distributions (also called Student’s t-distributions) are a family of symmetric, bell-shaped, standardized distributions with wider tails than the standard normal. Each is identified by its degrees of freedom (df), which depend on the sample size: df = \(n - 1\) for one sample. With small df, a t-distribution has a lower, narrower peak and fatter tails than the normal; as df increases, it looks more and more like the standard normal.

t-distributions are used for critical values and test statistics about a population mean \(\mu\) when \(\sigma\) is unknown and the sample standard deviation \(s\) must be used instead.

**Figure 1.** Using s in place of σ adds uncertainty, so t-distributions are more spread out than the standard normal, with lower peaks and heavier tails. As the degrees of freedom grow, the t-curve approaches the normal curve and t* approaches 1.96.

Common Mistake 1 · Using z* because the sample “looks normal”

With \(s\) in place of \(\sigma\), the right critical value is \(t^*\). For the screen time data, \(z^* = 1.96\) would give (3.61, 4.79), narrower than the correct (3.56, 4.84), so it would capture \(\mu\) less often than 95% of the time.

## 2 The parameter and the conditions

The procedure is a **one-sample t-interval for a population mean**. Define the parameter in context: the population mean of the response variable, for the population sampled.

| Condition | Check |
| --- | --- |
| Randomization | A random sample or a randomized experiment |
| 10% condition | When sampling without replacement, \(n \le 10\%N\) |
| Sample data | The population is approximately normal, or \(n \ge 30\), or (if \(n \lt 30\)) the sample data show no strong skewness or outliers |

Common Mistake 2 · Saying the condition without looking at the data

With fewer than 30 values, the sample data condition needs evidence: make a dotplot, boxplot or histogram and say what it shows. “The sample is large enough” is not true for \(n = 16\).

## 3 The interval

\[ \bar{x} \pm t^* \frac{s}{\sqrt{n}} \qquad SE_{\bar{x}} = \frac{s}{\sqrt{n}} \qquad ME = t^*\left(\frac{s}{\sqrt{n}}\right) \]

The point estimate is \(\bar{x}\). \(t^*\) is the critical value for the central C% of the t-distribution with df = \(n - 1\).

Worked Example 1 A complete one-sample t-interval

### Screen time

A random sample of 16 students at a high school of 2,000 students reported their daily phone screen time (hours): 2.1, 2.8, 3.0, 3.3, 3.5, 3.6, 3.9, 4.0, 4.2, 4.4, 4.5, 4.8, 5.1, 5.4, 5.9, 6.7. Construct a 95% confidence interval for the mean daily screen time of all students at the school.

1. 1 **State.** \(\mu\) = the true mean daily phone screen time (hours) of all students at the school. 95% confidence.
2. 2 **Plan.** One-sample t-interval for a population mean. Randomization: random sample. 10% condition: 16 ≤ 200. Sample data condition: \(n = 16 \lt 30\), but the dotplot (Figure 2) shows no strong skewness or outliers.
3. 3 **Do.** \(\bar{x} = 4.20\), \(s \approx 1.20\), df = 15, \(t^* = 2.131\). \(SE = 1.20/\sqrt{16} \approx 0.299\), \(ME = 2.131(0.299) \approx 0.638\). Interval: \(4.20 \pm 0.638 = (3.56,\ 4.84)\).
4. 4 **Conclude.** We are 95% confident that the interval from 3.56 to 4.84 hours captures the true mean daily phone screen time of all students at the school.

**Answer:** (3.56, 4.84) hours.

**Figure 2.** The dotplot shows no strong skewness or outliers, so the sample data condition is met. The interval is about the population mean and is much narrower than the spread of individual students.

On the calculator

Data in L1: STAT, TESTS, **TInterval**, Inpt: Data, List: L1, C-Level: 0.95. Output (3.5624, 4.8376). With summary numbers, choose Inpt: Stats and enter \(\bar{x}\), \(s\) and \(n\). For a critical value alone, **invT**(0.975, 15) = 2.131.

Worked Example 2 Changing the confidence level

### Screen time

Find the 90% and 99% intervals for the screen time data.

1. 1df = 15 for both. 90%: \(t^* = 1.753\); 99%: \(t^* = 2.947\).
2. 290%: \(4.20 \pm 1.753(0.299) = (3.68,\ 4.72)\).
3. 399%: \(4.20 \pm 2.947(0.299) = (3.32,\ 5.08)\).

**Answer:** Higher confidence requires a larger t* and gives a wider interval.

Common Mistake 3 · Reading the interval as a range for individual students

(3.56, 4.84) is a range of plausible values for the *mean*. Most individual students in the sample are outside it (Figure 2). Never say “95% of students have screen times in this interval.”

## 4 Matched pairs

In a matched pairs design the two sets of values are dependent: each pair shares a person (or a matched pair of similar people). Calculate the difference within each pair to produce one sample of differences, then use a **one-sample t-interval for a population mean difference**, \(\mu_d\). State the order of subtraction. The sample data condition applies to the differences: there should be at least 30 of them, or the differences should show no strong skewness or outliers.

**Figure 3.** Each student was measured twice, so the two lists are not independent samples. Subtracting within each pair gives one sample of 12 differences, and the interval is built from those differences alone.

Worked Example 3 A matched pairs interval

### Music while studying

Twelve students each studied a word list twice, once in silence and once with music, in a randomly assigned order, then recorded how many words they recalled. The differences (silence minus music) are 2, 1, −1, 3, 2, 0, 3, 1, 3, −1, 3, 1. Construct a 95% confidence interval for the mean difference.

1. 1Parameter: \(\mu_d\) = the true mean difference in words recalled (silence minus music) for students like these.
2. 2Procedure: one-sample t-interval for a population mean difference. Randomization: the order of the conditions was randomly assigned. Sample data condition: 12 differences, fewer than 30, with no strong skewness or outliers (Figure 3).
3. 3\(\bar{x}_d \approx 1.42\), \(s_d \approx 1.51\), df = 11, \(t^* = 2.201\). \(SE = 1.51/\sqrt{12} \approx 0.434\), \(ME = 2.201(0.434) \approx 0.956\).
4. 4Interval: \(1.42 \pm 0.956 = (0.46,\ 2.37)\).

**Answer:** We are 95% confident that the interval from 0.46 to 2.37 words captures the true mean difference in words recalled (silence minus music) for students like these.

Common Mistake 4 · Treating paired data as two independent samples

The silence and music scores come from the same 12 students, so they are not independent. Building an interval from the two separate means ignores the pairing and usually gives a much wider interval. Use the 12 differences, df = 11.

Say it like this

“We are 95% confident that the interval from 0.46 to 2.37 words captures the true mean difference in words recalled (silence minus music) for students like these.”

### Quick reference

| Piece | One sample | Matched pairs |
| --- | --- | --- |
| Parameter | \(\mu\) | \(\mu_d\) (state the order) |
| Point estimate | \(\bar{x}\) | \(\bar{x}_d\) |
| Standard error | \(s/\sqrt{n}\) | \(s_d/\sqrt{n_d}\) |
| Degrees of freedom | \(n - 1\) | \(n_d - 1\) |
| Interval | \(\bar{x} \pm t^* s/\sqrt{n}\) | \(\bar{x}_d \pm t^* s_d/\sqrt{n_d}\) |
| Calculator | TInterval | TInterval on the list of differences |

FiveStudy AP® Statistics · A confidence interval for a mean
