Topic 4.4 Notes – Setting Up a Test for a Population Mean or Population Mean Difference
What a One-Sample t-Test Tests
A one-sample t-test is used when the variable is quantitative and you want to test a claim about a single population mean, written as .
Why t and not z? Because , the population standard deviation, is unknown. You estimate it with the sample standard deviation , and that extra uncertainty is handled by the t-distribution.
For these tests, the degrees of freedom are
Two versions show up in this topic:
- One sample of quantitative data
- You test a single population mean .
- Matched pairs
- You turn each pair into one difference.
- Then you test the population mean of those differences, .
This is the basic decision tree for this part of inference. For this section, focus on the left branch for one sample vs. a known value and the right branch for paired or matched observations.

t-test decision tree
This is not for:
- categorical data or proportions
- two independent samples
- comparing two separate groups with no pairing
Choosing the Right Setup
The first question is what kind of data structure you have.
One quantitative sample
Use this when there is one random sample and the claim is about that population’s mean.
Your parameter should sound like this:
- the true mean of the quantitative variable for the population in context
Example:
- the true mean fill weight of all cereal boxes produced today
Matched pairs
Use this when observations are dependent, like:
- before and after on the same person
- the same subject under two treatments
- matched individuals
- natural pairs such as twins
You define a difference for each pair, such as
Then you analyze the single sample of differences with a one-sample t-test.
Your parameter becomes:
- the true mean of the pairwise differences in context
Order of subtraction
This part is easy to mess up. If you define , then positive differences mean tends to be larger than . If you switch to , every sign flips, so the direction of the alternative flips too.
The claim has to match your defined difference, not just the wording in the prompt.
Writing the Parameter and Hypotheses
Your parameter definition needs all three pieces:
- the population
- the quantitative response variable
- the mean parameter
Example:
- the true mean resting heart rate of all students at this school
One-sample hypotheses
Matched-pairs hypotheses
Tail choice comes from the claim:
- “lower,” “decreased,” “less than” → left-tailed
- “higher,” “increased,” “greater than” → right-tailed
- “different,” “changed” → two-tailed
Common mistakes:
- using or in hypotheses instead of or
- putting equality in
- choosing the tail based on sample results
Conditions for a One-Sample t-Test
You need three conditions.
Randomization
The data should come from a random sample or a randomized experiment. In matched pairs, dependence within a pair is fine.
10% condition
When sampling without replacement,
For matched pairs, is the number of pairs.
Sample data condition
You can use the test if:
- the population is approximately normal, or
- , or
- if , the sample data show no strong skewness or outliers
For matched pairs, check the differences, not the two original samples. That means you should make your normality and outlier decision from the distribution of the pairwise differences.

Matched-pairs conditions: check the differences
The Setup Sequence on the Exam
A clean AP Stats setup usually goes in this order:
- Define the parameter in context.
- If paired, define and say the subtraction order.
- Write and using or .
- Name the procedure.
- one-sample t-test for a population mean
- one-sample t-test for a population mean difference
- Check randomization, 10%, and sample data conditions.
- If is given, mention it, but it does not decide the hypotheses or conditions.
Biggest setup errors:
- treating paired data as independent samples
- forgetting to define the difference
- checking shape on the raw data instead of on the differences
- trying to compute the test statistic or p-value during setup
Key Takeaways
One-Sample t-Test for a Population Mean
Significance test for a claim about a population mean μ when one quantitative sample is used and σ is unknown
One-Sample t-Test for a Population Mean Difference
One-sample t-test on the pairwise differences to test a claim about μd, the population mean difference, in a matched-pairs design
Matched Pairs Design
Design with two dependent measurements per pair; analyze by computing one difference for each pair and treating those differences as one sample
Population Parameter for a One-Sample Mean Test
μ = the population mean of the quantitative response variable for the population in context
Population Parameter for a Matched-Pairs Mean Difference Test
μd = the population mean of the pairwise differences for the population in context
Null and Alternative Hypotheses for One Population Mean
H₀: μ = μ₀; Hₐ: μ < μ₀, μ > μ₀, or μ ≠ μ₀, chosen from the investigative question
Null and Alternative Hypotheses for a Population Mean Difference
H₀: μd = 0; Hₐ: μd < 0, μd > 0, or μd ≠ 0, based on the context and defined differences
Direction of the Alternative Hypothesis
Choose μ < μ₀, μ > μ₀, or μ ≠ μ₀ from the investigative question; in matched pairs, choose the direction only after defining the order of subtraction
Order of Subtraction in Matched Pairs
The defined difference, such as B − A, must stay consistent because reversing it reverses the meaning of positive and negative differences and the inequality in Hₐ
Randomization Condition
Data must come from a random sample or a randomized experiment
10% Condition
When sampling without replacement, require n/N ≤ 0.10, equivalently N ≥ 10n
Sample Data Condition
Condition is met if the population distribution is approximately normal, or n ≥ 30, or if n < 30 the sample data are free of strong skewness and outliers
Sample Data Condition for Matched Pairs
Check the number and distribution of the differences, not the two original samples; if the population distribution of differences is approximately normal, or n ≥ 30 differences, or if n < 30 the differences are free of strong skewness and outliers, the condition is met
Notes
One-Sample t-Test for a Population Mean
Significance test for a claim about a population mean μ when one quantitative sample is used and σ is unknown
One-Sample t-Test for a Population Mean Difference
One-sample t-test on the pairwise differences to test a claim about μd, the population mean difference, in a matched-pairs design
Matched Pairs Design
Design with two dependent measurements per pair; analyze by computing one difference for each pair and treating those differences as one sample
Population Parameter for a One-Sample Mean Test
μ = the population mean of the quantitative response variable for the population in context
Population Parameter for a Matched-Pairs Mean Difference Test
μd = the population mean of the pairwise differences for the population in context
Null and Alternative Hypotheses for One Population Mean
H₀: μ = μ₀; Hₐ: μ < μ₀, μ > μ₀, or μ ≠ μ₀, chosen from the investigative question
Null and Alternative Hypotheses for a Population Mean Difference
H₀: μd = 0; Hₐ: μd < 0, μd > 0, or μd ≠ 0, based on the context and defined differences
Direction of the Alternative Hypothesis
Choose μ < μ₀, μ > μ₀, or μ ≠ μ₀ from the investigative question; in matched pairs, choose the direction only after defining the order of subtraction
Order of Subtraction in Matched Pairs
The defined difference, such as B − A, must stay consistent because reversing it reverses the meaning of positive and negative differences and the inequality in Hₐ
Randomization Condition
Data must come from a random sample or a randomized experiment
10% Condition
When sampling without replacement, require n/N ≤ 0.10, equivalently N ≥ 10n
Sample Data Condition
Condition is met if the population distribution is approximately normal, or n ≥ 30, or if n < 30 the sample data are free of strong skewness and outliers
Sample Data Condition for Matched Pairs
Check the number and distribution of the differences, not the two original samples; if the population distribution of differences is approximately normal, or n ≥ 30 differences, or if n < 30 the differences are free of strong skewness and outliers, the condition is met