Skip to main content
United StatesStatisticsSyllabus dot point

How do you construct a confidence interval for a population mean using the t-distribution?

Topic 7.2 Constructing a Confidence Interval for a Population Mean: check the conditions and construct a one-sample t-interval for a population mean, using the t critical value, the standard error, and the correct degrees of freedom.

A focused answer to AP Statistics Topic 7.2, on building a one-sample t-interval for a population mean - checking conditions, finding the t critical value with n minus 1 degrees of freedom, the standard error, and the margin of error - with a full worked interval.

Generated by Claude Opus 4.811 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this topic is asking
  2. The interval and why it uses tt
  3. Checking the conditions
  4. Reading the result and the parts
  5. Try this

What this topic is asking

The College Board (Topic 7.2) wants you to construct and interpret a one-sample t-interval for a population mean μ\mu: check the conditions, compute xˉ\bar{x}, find the tt critical value with n1n - 1 degrees of freedom, the standard error s/ns/\sqrt{n}, and the margin of error, then state and interpret the interval.

The interval and why it uses tt

We use the tt-distribution, not the normal zz, because the population standard deviation σ\sigma is unknown and replaced by the sample standard deviation ss. Estimating ss from the data adds extra uncertainty, so tt is wider (heavier-tailed) than the normal, more so for small samples. As nn grows, ss estimates σ\sigma better and tt approaches zz. The degrees of freedom df=n1df = n - 1 index which tt-distribution to use.

Checking the conditions

The shape condition has the most nuance. For n30n \ge 30, the central limit theorem covers you. For a small sample, you must inspect a graph of the data: a roughly symmetric shape with no outliers supports the procedure, while strong skew or an outlier undermines it. On the exam, state which justification applies (large nn, or a described plot).

Reading the result and the parts

Interpret the interval as: "We are C%C\% confident the true mean of [context] is between [low] and [high]," and, if asked, interpret the confidence level separately ("in repeated sampling, about C%C\% of intervals built this way would capture the true mean"). The margin of error ts/nt^{*} s/\sqrt{n} shows the same three levers as proportions: higher confidence raises tt^{*} and widens the interval; larger nn shrinks s/ns/\sqrt{n} and narrows it (precision improving with n\sqrt{n}); more variable data (larger ss) widens it. Sample-size questions ("how large for a margin of error of at most mm?") are solved by rearranging ts/nmt^{*} s/\sqrt{n} \le m, often using zz^{*} as an approximation when dfdf is unknown in advance.

Try this

Q1. A sample of n=10n = 10 gives s=5s = 5. Find the standard error and the degrees of freedom. [2 points]

  • Cue. SE=5101.58SE = \dfrac{5}{\sqrt{10}} \approx 1.58; df=n1=9df = n - 1 = 9.

Q2. Why does a mean interval use tt instead of zz? [1 point]

  • Cue. Because σ\sigma is unknown and estimated by ss; that extra uncertainty makes the tt-distribution (wider than normal) the correct model.

Exam-style practice questions

Practice questions written in the style of College Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

AP 2018 (style)1 marksSection I (multiple choice). A one-sample t-interval for a mean is based on n=16n = 16 observations. The number of degrees of freedom is (A) 1616 (B) 1515 (C) 44 (D) 1414
Show worked answer →

The correct answer is (B).

A one-sample t-interval for a mean uses df=n1=161=15df = n - 1 = 16 - 1 = 15 degrees of freedom.

(A) uses nn instead of n1n - 1. (C) and (D) are not the correct formula. The degrees of freedom are 1515.

AP 2022 (style)4 marksSection II (free response). A random sample of 2525 commute times (in minutes) has mean xˉ=32\bar{x} = 32 and standard deviation s=8s = 8. A dotplot of the data is roughly symmetric with no outliers. (a) Check the conditions for a one-sample t-interval for the mean commute time μ\mu. (b) Construct a 95%95\% confidence interval (use t=2.064t^{*} = 2.064 for df=24df = 24). (c) Interpret the interval in context.
Show worked answer →

A 4-point one-sample t-interval.

(a) (1 point) Random: stated random sample. Normal/large sample: n=25<30n = 25 < 30, but the dotplot is roughly symmetric with no outliers, so the t-procedure is appropriate. 10%10\%: 2525 is plausibly under 10%10\% of all commuters.
(b) (2 points) SE=sn=825=85=1.6SE = \dfrac{s}{\sqrt{n}} = \dfrac{8}{\sqrt{25}} = \dfrac{8}{5} = 1.6. Margin of error =tSE=2.064×1.6=3.302= t^{*} \cdot SE = 2.064 \times 1.6 = 3.302. Interval =32±3.302=(28.70, 35.30)= 32 \pm 3.302 = (28.70,\ 35.30).
(c) (1 point) We are 95%95\% confident the true mean commute time is between 28.7028.70 and 35.3035.30 minutes.

Markers reward checking conditions (especially the shape argument for n<30n < 30), the standard error, the tt^{*} interval, and a contextual interpretation.

Related dot points

Sources & how we know this