Setting Up a Test for the Difference Between Two Population Means
▶︎ Watch it animatedinteractive step-through · ~3 min · optionalA two-sample t test states $H_0: \mu_1 = \mu_2$, equivalently $\mu_1 - \mu_2 = 0$, against an alternative whose direction comes from the research question, with both parameters defined in context. The design question comes first: independent groups take the two-sample procedure, while the same individuals measured twice or matched pairs take the one-sample procedure on differences. The conditions are random, independence between groups, the 10% condition per group, and a shape check per group, with degrees of freedom either technology's value or the conservative $\min(n_1, n_2) - 1$.
The design gets read off the data layout rather than the study: two columns of numbers become two samples even when the same twenty runners produced both, which changes the standard error, the degrees of freedom, and the parameter. The hypotheses get written about $\bar{x}_1$ and $\bar{x}_2$, which are known and differ by 7.2, or assigned the two observed means as values, or set to the observed difference itself. And the alternative's direction gets taken from whichever sample mean came out larger rather than from the question the study was designed to answer.
The work
3 ways in · any order
Lesson
Setting Up a Test for the Difference Between Two Population Means
›
Puts the design question ahead of everything, sorts paired from two-sample studies, writes hypotheses about two population means with equality in the null and direction from the research question, and checks the conditions once per group.
Diagnostic
10-item topic check
›
Ten items on two-sample setup: paired designs run as two samples, hypotheses about the sample means, observed values assigned to the parameters, and alternatives chosen from whichever mean came out higher. Take it cold to find your habit, or after the lesson to check it is gone.
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.