4.2 - Paired-sample t-tests
Before-and-after measurements belong together when they come from the same individual. You will turn matched observations into a single sample of differences, use a one-sample t-test on those differences, and keep the sign consistent from hypotheses to conclusion.
Working with differences
If four people are measured before and after training, do you have eight independent people or four independent changes? The second description preserves the information about who improved.
In paired data, each observation in one list has a meaningful partner in the other: the same individual at two times, or two individuals deliberately matched on relevant features. Work with one difference per pair. Independence is needed between pairs; the two measurements within a pair need not be independent.
Paired difference
Choose and state an order, such as , then calculate that same difference for every pair. If there are pairs, the resulting sample contains differences. Its population mean is denoted by .
Subtracting removes a person's baseline from the comparison. The mean of the differences equals the difference of the two sample means, but its variance depends on the actual pairings. Sorting the lists separately can preserve their means while destroying that variance information.
Worked example 1: one change per person
Question. Four people have before measurements and corresponding after measurements . With , find the differences and their mean. Interpret its sign.
Plan. Subtract within each person's pair, keeping the original alignment.
A positive difference means the after measurement is lower.
Answer. The differences are , with mean : the sample shows an average reduction of unit.
Check. The before and after sample means are and . Their difference is , agreeing with the mean of the paired differences.
Change only the subtraction order. A correct reversal changes the sign but cannot change the physical evidence about the people.
Worked example 2: reversing the definition
Question. For the same paired observations, define . Find the differences and their mean. How is a population reduction expressed using ?
Plan. Negate each original difference and translate the direction of the claim.
An after measurement below its before measurement gives a negative , so a population mean reduction corresponds to .
Answer. The differences have mean ; a reduction is tested using a negative population mean difference.
Check. Each , so . The average physical reduction is still unit.
Either subtraction order works. Writing it explicitly prevents an improvement from being tested in the wrong tail.
A t-test on differences
Once the differences are formed, the paired t-test is a one-sample t-test on that single list.
For a small sample, assume the population of differences is normal and the pairs are independently selected. It is the distribution of differences that matters; normality of the two separate lists alone does not guarantee the required model. Calculate the unbiased variance of the differences, not a pooled variance of the original measurements.
Paired t statistic
For independent pairs with normally distributed differences,
Under ,
The unbiased variance formula and t tables are in the formula booklet; the paired t statistic is not printed separately.
The usual null of no mean change has . A zero difference remains an observation in a t-test: it affects the sample mean, variance and number of pairs.
Worked example 3: six differences
Question. Six independent differences from a normal population are . Calculate the t statistic for a zero population mean difference and state its degrees of freedom.
Plan. Estimate the variance of this list and standardise its mean.
Answer. to 3 significant figures, with degrees of freedom.
Check. Centring at gives squared deviations , totalling . Dividing by five again gives .
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account