Mistake Master
Student view — seeing the site as a student does

Constructing a Confidence Interval for a Population Mean or Population Mean Difference

▶︎  Watch it animatedinteractive step-through · ~3 min · optional

A one-sample t interval is $\bar{x} \pm t^{*}\frac{s}{\sqrt{n}}$ with $df = n - 1$. For 25 batteries with $\bar{x} = 124.6$ and $s = 9.2$: $SE = 1.84$, $t^{*} = 2.064$ at 95%, and the interval is about $(120.8, 128.4)$ hours. The conditions are random selection, the 10% condition, and a shape check that is either $n \ge 30$, a stated normal population, or a plot of the sample showing no strong skew or outliers. Paired data collapses first: compute one difference per pair, then run the same interval on those differences with $df$ equal to the number of pairs minus one.

$z^{*} = 1.96$ gets used where $t^{*} = 2.064$ belongs, producing an interval too narrow for its stated confidence, and $df$ gets read at $n$ instead of $n - 1$. The design gets misread, so 12 before-and-after measurements on the same students run as two samples with 22 degrees of freedom instead of one sample of 12 differences with 11. And the referent slips: an interval for $\mu$ reported as a range holding 95% of individual batteries, whose spread of 9.2 hours would make such a range several times wider, or as a probability statement about a parameter that is simply in or out.

25 batteries: x-bar = 124.6 h, s = 9.2 h, 95% confidence 124.6 120.8 128.4 margin of error 3.80 124.6 +/- 2.064 x 1.84 2.064 is t* at df = 24 1.84 is s / sqrt(25) z* 1.96 gives 3.61: too narrow
The only thing separating this from a z interval is the critical value, and at 24 degrees of freedom that difference is a fifth of an hour on each side. It grows quickly as the sample shrinks.
the SAME students, measured twice before after difference 72 78 +6 65 69 +4 80 79 -1 58 66 +8 74 77 +3 69 71 +2 subtract ONE sample of 6 differences, df = 5 not two samples of 6 with df = 10: the pairing is the design
Two columns of numbers are not two samples when the same individual produced both. Subtracting first is what keeps each student as their own comparison, and the degrees of freedom count pairs.

The work

3 ways in · any order
Lesson
Constructing a Confidence Interval for a Population Mean or Population Mean Difference

Builds the one-sample t interval with its critical value at n minus 1 degrees of freedom, checks the shape condition from a plot rather than a rule, collapses paired designs into a single sample of differences, and fixes the sentence that names the population mean.

Skill check · 10 scenarios
Diagnostic
10-item topic check

Ten items on t intervals for a mean: z critical values, df read at n, paired data run as two samples, and intervals reported as ranges for individuals or for future sample means. Take it cold to find your habit, or after the lesson to check it is gone.

Not started · 10 items · ~15 min
Targeted Practice
Drill a single misconception

Pick one of the failure modes you missed and drill it on its own. The round is adaptive: two correct in a row clears it for now and moves you to the next. Two in a row is a checkpoint, not proof: if the error resurfaces later, the misconception comes back.

Take the diagnostic to identify your misconceptions