Steply

Paired test: before 150, 142, 160, 155, 148; after 146, 140, 151…

Step by step, with the reason for every step · Paired samples · University Statistics

Step by step

The question

Question: the same 5 people are measured before and after: at the 5% level, did the pressures go down?

before: 150, 142, 160, 155, 148; after: 146, 140, 151, 150, 147

The same people are measured twice.

So we look at each person's change: one list of differences.

the same people twice: work with each one's difference

1 The differences

Each row is one person: before and after.

146 minus 150 is −4.

140 minus 142 is −2.

151 minus 160 is −9.

150 minus 155 is −5.

147 minus 148 is −1.

Careful!

The two lists are the same people.

So we test the differences, not two separate groups.

Careful: one list of differences, not two groups

2 Mean and SD of d

The differences add up to −21.

Their mean: −21/5 is −4.2.

d̄ = −215 = −4.2

For the SD: each difference minus −4.2, squared.

−4 gives 0.04.

−2 gives 4.84.

−9 gives 23.04.

−5 gives 0.64.

−1 gives 10.24.

They add up to 38.8.

A sample SD divides by n minus 1: 38.8/4 is 9.7.

The square root: about 3.1145.

sd = √38.85 − 1 = √9.7 ≈ 3.1145

3 Write the hypotheses

H₀ is the "nothing new" idea: it has the equal sign.

Here: the mean change is 0.

H0 : μd = 0

Hₐ is what we want to show.

Here: the mean change is less than 0.

Ha : μd < 0

Less than means only the left end counts.

One tail.

one tail: the left end

4 The test number

The SD of the mean difference: 3.1145 over the square root of 5, about 1.3928.

SD of the mean = sd√n = 3.1145√5 ≈ 1.3928

t is the mean difference minus 0, over 1.3928: about −3.016.

t = −4.2 − 01.3928 ≈ −3.016

5 The cut-off

The t-table needs df: n minus 1, 4.

df = n − 1 = 5 − 1 = 4

One tail: 0.05 in one end.

Row 4, column 0.05.

Row 4, column .05: t* = 2.132.

The t curve, with the cut-off and our t.

Past the cut-off is the reject part: the rare samples.

6 Decide

Our t, −3.016, is past the cut-off: in the reject part.

So we reject H zero.

= t = −3.016 < −2.132 → reject H0

7 Say it in words

At the 5% level, there is enough evidence that

In words: at the 5% level, there is enough evidence that the pressures went down.

the pressures went down.

8 Check

Let's check with the mean difference itself.

The cut-off for it is 0 minus 2.132 times 1.3928: −2.9694.

cut-off for the mean difference: 0 − 2.132 × 1.3928 = −2.9694

The mean difference, −4.2, is past it.

The same decision.

So it is right!

−4.2: past it, reject

Let's look back.

First: the differences.

Then: mean and SD of d.

Then: write the hypotheses.

Then: the test number.

Then: the cut-off.

Then: decide.

Then: say it in words.

Last: check.

Answer
= t = −3.016 < −2.132 → reject H0

Your turn

Try this one yourself, then check:

before: 155, 132, 155, 150, 148; after: 153, 123, 150, 149, 144
Show the answer
reject H0

More from Paired samples

The whole lesson: Paired samples →