AP® Statistics · Unit 4 · Topic 4.4

Conditions for a One-Sample t-Test

Before trusting a one-sample t-test, you must check that the data came from a random sample, that observations are independent, and that the population is roughly normal or the sample is large enough to overcome skew and outliers.

A t-test estimates the population standard deviation from the sample itself, which makes it shakier than a z-test. That extra uncertainty is exactly why the conditions matter so much: if the data are messy going in, the t-distribution can't fix that on the way out. Three things need to hold. First, randomness — the sample must come from a random process, like an SRS, so the results generalize. Second, independence — knowing one value shouldn't tell you much about another; with sampling without replacement, check that the sample is less than 10% of the population. Third, normality of the population, which you can never check directly, so you check what you can see: the sample.

To judge normality, look at a dotplot, boxplot, or normal probability plot of the sample. If n is small, say under 15, the data should show no strong skew and no outliers, since one extreme value can drag the sample mean and inflate the sample standard deviation, distorting the whole test. As n grows past about 15, moderate skew becomes tolerable, and once n is around 30 or more, the central limit theorem takes over and even fairly skewed populations produce a nearly normal sampling distribution for the mean.

This condition check sits right before you compute the test statistic and p-value. Skipping it doesn't just weaken the argument — it can make the stated p-value meaningless, because the t-distribution's accuracy depends on these assumptions. The same three-part check reappears for every quantitative-means procedure that follows, including confidence intervals and two-sample t-tests, so getting comfortable with it here pays off all unit long.

Key terms

Degrees of freedom
The value n minus 1, which determines the exact shape of the t-distribution used for a one-sample t-test.
Normality condition
The requirement that the population be approximately normal, checked using the shape of the sample data.
Central limit theorem
The principle that the sampling distribution of the mean becomes approximately normal as sample size increases, even for skewed populations.
Outlier
An unusually extreme data value that can distort the sample mean and standard deviation in a small sample.

Watch it explained

  1. How it worksHow do you check normality when you can never see the whole population?
  2. Worked exampleShow me the condition check for a t-test on 25 randomly chosen light bulbs.
  3. Common mistakeWhy isn't a boxplot with no outliers enough to prove the population is normal?

Check yourself

Your turn1 of 2
A sample of size 30 is checked for outliers before running a t-test. Find the sample's degrees of freedom.

End of topic.