Statistics

Paired t Test

Students connect before-and-after measuring sticks in pairs.

Paired t Test definition

A paired t test applies a one-sample t test to the differences within matched pairs.

In Spanish
prueba t para muestras pareadas
Topic
Hypothesis tests and inference

Paired t Test in a picture

Paired t Test diagramFor before-and-after data, compute one after-minus-before difference for each person.Pair 1: 9 − 7 = 2Use the same subtraction orderPair 2: 8 − 8 = 0Keep zero differencesPair 3: 10 − 9 = 1Analyze the list 2, 0, 1
For before-and-after data, compute one after-minus-before difference for each person.

How it works

Subtract the two observations in each pair in the same order. Then compute the mean and sample standard deviation of the differences. Under independent pairs and a normal distribution of differences, compare the statistic with a t distribution using one fewer degree of freedom than the number of pairs.

Worked examples

How many data values enter the one-sample calculation for 12 matched pairs?

12 differences.

The difference mean is 3, its sample standard deviation is 4, and there are 16 pairs. Find t for a zero null difference.

3/(4/√16) = 3.

What happens to t if you reverse every difference?

Its sign reverses. For a two-sided test the p-value stays the same.

Common mistake

Keep each pair matched. The estimated spread comes from the differences within pairs.

Quick check

What data go into the paired t calculation?

What degrees of freedom do 10 pairs give?

Show answer

9.

Which assumption concerns the individual differences?

Show answer

For the exact small-sample test, the differences come from a normal population and are independent across pairs.

Sources

Flashcard

Paired t Test

Reveal the definition

A paired t test applies a one-sample t test to the differences within matched pairs.

Effortless Math. “Paired t Test.” Math Dictionary.