Steply

Paired test: before 7, 9, 6, 8, 10, 7; after 6, 9, 4, 7, 8, 7; did…

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

Step by step

The question

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

before: 7, 9, 6, 8, 10, 7; after: 6, 9, 4, 7, 8, 7

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.

6 minus 7 is −1.

9 minus 9 is 0.

4 minus 6 is −2.

7 minus 8 is −1.

8 minus 10 is −2.

7 minus 7 is 0.

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 −6.

Their mean: −6/6 is −1.

d̄ = −66 = −1

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

−1 gives 0.

0 gives 1.

−2 gives 1.

−1 gives 0.

−2 gives 1.

0 gives 1.

They add up to 4.

A sample SD divides by n minus 1: 4/5 is 0.8.

The square root: about 0.8944.

sd = √46 − 1 = √0.8 ≈ 0.8944

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: 0.8944 over the square root of 6, about 0.3651.

SD of the mean = sd√n = 0.8944√6 ≈ 0.3651

t is the mean difference minus 0, over 0.3651: about −2.739.

t = −1 − 00.3651 ≈ −2.739

5 The cut-off

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

df = n − 1 = 6 − 1 = 5

One tail: 0.05 in one end.

Row 5, column 0.05.

Row 5, column .05: t* = 2.015.

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, −2.739, is past the cut-off: in the reject part.

So we reject H zero.

= t = −2.739 < −2.015 → 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 times went down.

the times went down.

8 Check

Let's check with the mean difference itself.

The cut-off for it is 0 minus 2.015 times 0.3651: −0.7357.

cut-off for the mean difference: 0 − 2.015 × 0.3651 = −0.7357

The mean difference, −1, is past it.

The same decision.

So it is right!

−1: 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 = −2.739 < −2.015 → reject H0

Your turn

Try this one yourself, then check:

before: 12, 9, 6, 3, 15, 12; after: 12, 7, 5, 1, 15, 11
Show the answer
reject H0

More from Paired samples

The whole lesson: Paired samples →