All AP Courses AP StatisticsAP Stats

Practice

Comparing two means

Standard error of a difference in means and the two-sample t statistic.

The skill

With two independent groups and a quantitative response, compare means with x‾1−x‾2. The standard error is s12n1+s22n2, each variance divided by its own sample size, with no pooling. Technology finds the degrees of freedom; with a table, the smaller of n1−1 and n2−1 is the conservative choice. The usual mistake is adding the standard deviations instead of the variances. Measurements paired on the same individuals call for a one-sample analysis of the differences instead.

A worked example

In a randomized experiment, 32 students who studied with spaced practice had a mean quiz score of 82.6 points (s = 7.0), and 18 students who studied in one session had a mean of 79.4 points (s = 7.1).

Find the two-sample t statistic for H₀: μ₁ = μ₂ (group 1 minus group 2). Round to two decimal places.

Solution

  1. SE=s12n1+s22n2=49.0032+50.4118≈2.081.
  2. t=82.6−79.42.081≈1.54. Technology finds the degrees of freedom (about 34.9 here); a conservative choice is the smaller n minus 1 = 17.

Answer: 1.54

Your turn

Lessons behind these problems