This course has been archived. The College Board updated AP Statistics for the 2026–27 school year, and the units and topics changed.
Go to the new AP® Statistics
7m left·0%
Reading Time: 7 min
Last Updated: March 17, 2026
Main Ideas: 5
Reading Time: 7 min
Last Updated: March 17, 2026
Main Ideas: 5

Topic 7.4 Notes – Setting Up a Test for a Population Mean

Read aloud
You’ll identify when to use a one-sample t-test, how to write the correct hypotheses (including matched pairs), and how to check the required conditions before doing any calculations.

What a One-Sample t-Test Is

A one-sample t-test is used to test a claim about a population mean μ \mu when the population standard deviation σ \sigma is unknown. That’s almost always the case in real data, so we use the t-distribution.

You’re in one-sample t-test territory when:

  • The variable is quantitative (heights, times, scores, weights, etc.)
  • You have one sample
  • You are comparing the sample mean xˉ \bar{x} to a claimed value

The idea: if the claim about μ \mu were true, how likely would it be to get a sample mean as far from that value as we did?

Matched Pairs = One Sample of Differences

Matched pairs often look like two samples, but they aren’t.

Examples:

  • Before/after measurements
  • Same person under two conditions
  • Twins matched on characteristics

Treat this as:

  1. Compute a difference for each pair.
  2. Let μd \mu_d = true mean difference.
  3. Run a one-sample t-test on the differences.

⚠️ Define the subtraction clearly (e.g., after − before). If you switch the order, the sign changes and so does the direction of your alternative hypothesis.

When to Use It (and When Not To)

You’ll usually see wording like:

  • “Is there convincing evidence…”
  • “Do the data suggest…”

Those phrases signal a significance test.

If:

  • Data are quantitative
  • You’re testing a claim about a mean
  • σ \sigma is unknown

→ Use a one-sample t-test.

If the data are categorical (like proportions), this is the wrong procedure. That’s a different test.

Hypotheses for a Population Mean

Always define your parameter in context.

Regular One-Sample t-Test

Let μ \mu = true mean ___ (in context).

H0:μ=μ0 H_0: \mu = \mu_0

Alternative depends on the question:

  • Ha:μ≠μ0 H_a: \mu \ne \mu_0 (two-sided)
  • Ha:μ>μ0 H_a: \mu > \mu_0 (right-tailed)
  • Ha:μ<μ0 H_a: \mu < \mu_0 (left-tailed)

Key reminders:

  • The null always has equality.
  • The alternative comes from the wording, not your sample result.
  • Never write hypotheses using xˉ \bar{x} . Use μ \mu .

Matched Pairs Hypotheses

Let μd \mu_d = true mean difference (state subtraction order).

H0:μd=0 H_0: \mu_d = 0

Ha:μd≠0orμd>0orμd<0 H_a: \mu_d \ne 0 \quad \text{or} \quad \mu_d > 0 \quad \text{or} \quad \mu_d < 0

The value 0 represents “no difference.”

On free-response questions, students often lose points by forgetting to define μ \mu or μd \mu_d in context. Write it out clearly.

Conditions for Inference

Before calculating anything, check Random, Independent, Normal (RIN).

1. Random

Data come from:

  • A random sample, or
  • A randomized experiment

Say this using the wording from the problem.

2. Independent

If sampling without replacement, check the 10% condition:

nN≤0.10 \frac{n}{N} \le 0.10

In context, you might say:

It is reasonable to believe there are at least 10n students in the population.

3. Normal (Shape)

We need the sampling distribution of xˉ \bar{x} to be approximately normal.

You can justify this if:

  • n≥30 n \ge 30 (Central Limit Theorem), or
  • Population is stated to be approximately normal, or
  • If n<30 n < 30 , the sample data show no strong skewness or outliers.

For matched pairs, check normality of the differences, not the original variables.

Strong skewness means the distribution has a long tail to the right or left, like the skewed-left and skewed-right histograms below.

Skewed left, roughly symmetric and skewed right, with the mean and median marked

If your sample is small and looks like one of the skewed shapes, the t-procedure is questionable.

Test Statistic and Significance Level

The test statistic measures how many standard errors the sample mean is from the hypothesized mean.

t=xˉ−μ0s/n t = \frac{\bar{x} - \mu_0}{s / \sqrt{n}}

Degrees of freedom: df=n−1 df = n - 1

For matched pairs, replace xˉ \bar{x} with dˉ \bar{d} and s s with sd s_d .

Significance Level α \alpha

  • α \alpha = probability of a Type I error
  • Commonly 0.05
  • Reject H0 H_0 if p-value < α \alpha

In a two-sided test with α=0.05 \alpha = 0.05 , the 0.05 is split evenly between the two tails of the t-distribution.

Study guide illustration

Two-tailed t-distribution with α=0.05 \alpha = 0.05 (df = 20)

Each tail has area 0.025. Values beyond the critical t-scores fall in the rejection region.

Connection to confidence intervals:

A two-sided test at α=0.05 \alpha = 0.05 matches a 95% confidence interval.

If μ0 \mu_0 is outside the interval → reject H0 H_0 .

Key Takeaways

A one-sample t-test is used for a population mean when σ \sigma is unknown and the data are quantitative.
Matched pairs become a one-sample t-test on the mean difference μd \mu_d .
The null hypothesis always uses equality, H0:μ=μ0 H_0: \mu = \mu_0 .
Define the parameter in context or you lose points on FRQs.
Check Random, 10% condition, and Normal before doing the test.
For matched pairs, check normality of the differences, not the original data.
A two-sided test at level α \alpha matches a confidence interval with level 1−α 1 - \alpha .

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining