AP® Statistics · Unit 4 · Topic 4.2

Building a One-Sample t-Interval

A one-sample t-interval estimates a population mean as x-bar plus or minus a margin of error, using t·instead of z·because the population standard deviation is unknown and estimated by s.

A confidence interval for a mean follows the same logic as one for a proportion: take your best estimate, then add and subtract a margin of error that accounts for sampling variability. The estimate is x-bar, the sample mean. The margin of error is a critical value times the standard error of that estimate. Nothing about that structure changes when you move from proportions to means.

What changes is the standard error. For a proportion you know the population spread is tied to p itself, so you can compute it directly. For a mean, the population standard deviation sigma is almost never known, so you estimate it with the sample standard deviation s. The standard error becomes s divided by the square root of n. Because you swapped in an estimate for sigma, the sampling distribution of x-bar is no longer exactly normal. It follows a t-distribution, which has slightly heavier tails to reflect that extra uncertainty. The t-distribution depends on degrees of freedom, df = n minus 1, and as df grows large, t gets very close to the normal curve.

Building the interval has three ingredients: x-bar, the standard error s over √n, and a critical value t·pulled from a t-table using your confidence level and df. Multiply t·by the standard error to get the margin of error, then write x-bar plus or minus that number. This sets up everything that follows in the unit: checking conditions like randomness and either normality or a large enough sample size, and later running the matching hypothesis test with the same t machinery.

Key terms

standard error
The estimated standard deviation of the sampling distribution of x-bar, calculated as s divided by √n.
degrees of freedom
The value n - 1 that determines which t-distribution to use for a one-sample mean problem.
t-distribution
A bell-shaped distribution with heavier tails than normal, used when sigma is estimated by s.
margin of error
The quantity t·times the standard error, added and subtracted from x-bar to form the interval.
critical value (t*)
The t-score that cuts off the middle confidence-level proportion of the t-distribution for given df.

Watch it explained

  1. How it worksWalk me through the standard error of a mean and where s steps in for sigma.
  2. Worked exampleFind the 95 percent confidence interval from n = 20, x-bar 48.6, and s = 7.2.
  3. Worked exampleFind the 90 percent interval for commute time from 36 drivers averaging 27.4 minutes.

Check yourself

Your turn1 of 2
Find the margin of error for a 95% confidence interval for a mean when n = 22, s = 9, and t* = 2.093.

End of topic.