7m left·0%
Reading Time: 7 min
Last Updated: September 11, 2026
Main Ideas: 5
Reading Time: 7 min
Last Updated: September 11, 2026
Main Ideas: 5

Topic 4.5 Notes – Carrying Out a Test for a Population Mean or Population Mean Difference

Verified for 2027 AP® Statistics Exam
Read aloud
This topic is the full one-sample t-test for a population mean, including the matched-pairs version where you test a mean difference. You’re taking the setup from the previous topic and actually doing the test, finding the p-value, making the decision, and writing the conclusion in context.

The One-Sample t-Test for a Mean or Mean Difference

A one-sample t-test is used when you want to test a population mean μ \mu and the population standard deviation σ \sigma is unknown. That’s why this is a t procedure instead of a z procedure. You use the sample standard deviation ss to estimate σ \sigma .

For matched pairs, you do one more step first. Turn each pair into a single difference, then test the population mean of those differences, μd \mu_d . After that, it is still a one-sample t-test.

t=xˉ−μ0s/n,df=n−1 t=\frac{\bar{x}-\mu_0}{s/\sqrt{n}}, \qquad \text{df}=n-1

For paired data,

t=xˉd−μd,0sd/n,df=n−1 t=\frac{\bar{x}_d-\mu_{d,0}}{s_d/\sqrt{n}}, \qquad \text{df}=n-1

Usually for paired data, μd,0=0 \mu_{d,0}=0 .

What the t-statistic means:

  • It tells you how many estimated standard errors your sample mean is from the null value.
  • Positive tt means the sample mean is above the null value.
  • Negative tt means the sample mean is below the null value.
  • The sign always matches xˉ−μ0 \bar{x}-\mu_0 , or xˉd−μd,0 \bar{x}_d-\mu_{d,0} for pairs.

When you find a P-value, you use the t-distribution and look at the tail area beyond your test statistic. This graph shows a two-sided test, with equal shaded areas in both tails for tt-values equally far from 0.

Study guide illustration

Two-tailed P-value on a t-distribution

Conditions and Setup You Still Need to Carry Through

Even though this topic is about calculations and conclusions, a complete test still includes the earlier setup:

  • parameter
  • hypotheses
  • procedure name
  • conditions

The conditions are the same ones you’ve been checking:

  • Random
    Data came from a random sample or randomized experiment.
  • Independence
    If sampling without replacement, use the 10% condition. n≤0.10Nn \le 0.10N
  • Sample data condition for t procedures
    • If population is approximately normal, okay.
    • If n≥30n \ge 30, usually okay unless the distribution is extremely skewed.
    • If n<30n < 30, the sample data should have no strong skewness and no outliers.

For matched pairs, check the shape of the differences, not the two original lists.

Good graph language sounds like this:

  • “The distribution of sample differences is roughly symmetric with no apparent outliers.”

That is much better than just saying “it looks normal.”

This topic is not the two-sample t-test for two independent means.

Carrying Out the Test

Here’s the flow of the calculation.

  1. Compute the estimated standard error.
    sn \frac{s}{\sqrt{n}} or sdn \frac{s_d}{\sqrt{n}}
  2. Calculate the test statistic.
    Report tt and df=n−1df=n-1.
  3. Find the p-value using the alternative hypothesis, not the sample result.
  • If Ha:μ>μ0H_a:\mu>\mu_0, use P(T≥tobs)P(T \ge t_{obs})
  • If Ha:μ<μ0H_a:\mu<\mu_0, use P(T≤tobs)P(T \le t_{obs})
  • If Ha:μ≠μ0H_a:\mu\ne\mu_0, use P(∣T∣≥∣tobs∣)P(|T|\ge |t_{obs}|)

Quick example

Suppose xˉ=18.2 \bar{x}=18.2, s=4.5s=4.5, n=25n=25, and H0:μ=16H_0:\mu=16.

t=18.2−164.5/25=2.20.9≈2.44 t=\frac{18.2-16}{4.5/\sqrt{25}}=\frac{2.2}{0.9}\approx 2.44

So df=24df=24. If Ha:μ>16H_a:\mu>16, the p-value is the right-tail probability for t=2.44t=2.44 with 24 df.

Using a t-table

  • Use the row for df=n−1df=n-1.
  • Most tables give upper-tail areas.
  • For a two-sided test, double the one-tail area.
  • If your exact df is missing, use the next smaller df. That gives a conservative p-value.

Using technology

Enter:

  • μ0 \mu_0
  • xˉ \bar{x}
  • s s
  • n n
  • correct alternative

Still show the formula setup in your work.

Interpreting the p-Value and Making the Decision

A p-value is the probability, assuming H0H_0 is true, of getting a result as extreme or more extreme than the one observed, in the direction of HaH_a.

A strong AP Stats interpretation includes:

  • the null assumption
  • “as extreme or more extreme”
  • the direction from the alternative
  • the parameter and variable in context
  • the random process

Example in context:

  • “If the true mean fill weight of all cereal boxes from this shift is 500 grams, then the probability of getting a sample mean at least this far from 500 grams, in either direction, from a random sample of 25 boxes is 0.0245.”

Decision rule:

  • If p-value ≤α \le \alpha , reject H0H_0
  • If p-value >α > \alpha , fail to reject H0H_0

Statistical significance means evidence against H0H_0. It does not tell you the effect is large or important.

Writing the Conclusion and Avoiding Common Mistakes

Use AP-style wording.

  • If you reject
    “Because the p-value is less than or equal to α \alpha , reject H0H_0. There is convincing evidence that...”
  • If you fail to reject
    “Because the p-value is greater than α \alpha , fail to reject H0H_0. There is not convincing evidence that...”

Your conclusion must name:

  • the population
  • the response variable
  • the parameter
  • the direction or difference from HaH_a

For matched pairs, be careful:

  • Define the subtraction order.
  • Reversing the order flips the signs of xˉd \bar{x}_d , tt, and the directional alternative.
  • nn is the number of pairs, not total measurements.

Common mistakes:

  • using the wrong tail(s)
  • choosing HaH_a from the sample direction
  • saying “the null is true” or “the null is false”
  • concluding “greater than” when HaH_a was “different from”
  • treating paired data like two independent samples

Key Takeaways

Use a one-sample t-test when testing a mean with unknown σ \sigma , and use the paired differences for matched-pairs data.
The test statistic t=xˉ−μ0s/nt=\frac{\bar{x}-\mu_0}{s/\sqrt{n}} measures how many estimated standard errors the sample mean is from the null value.
For matched pairs, everything is based on the differences, including the graph check, the mean, the standard deviation, and nn.
The alternative hypothesis decides the tail(s) for the p-value.
A p-value is computed under the assumption that H0H_0 is true and must include “as extreme or more extreme” in the interpretation.
“Fail to reject H0H_0” means the data do not give convincing evidence for HaH_a, not that H0H_0 has been proven true.
In a two-sided test, your conclusion must match “different from,” even if the sample mean happens to be larger.

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