Step by step
The question
Question: the same 6 people are measured before and after: at the 5% level, did the scores go up?
The same people are measured twice.
So we look at each person's change: one list of differences.
1 The differences
Each row is one person: before and after.
22 minus 20 is 2.
25 minus 22 is 3.
18 minus 18 is 0.
28 minus 25 is 3.
22 minus 21 is 1.
27 minus 24 is 3.
Careful!
The two lists are the same people.
So we test the differences, not two separate groups.
2 Mean and SD of d
The differences add up to 12.
Their mean: 12/6 is 2.
For the SD: each difference minus 2, squared.
2 gives 0.
3 gives 1.
0 gives 4.
3 gives 1.
1 gives 1.
3 gives 1.
They add up to 8.
A sample SD divides by n minus 1: 8/5 is 1.6.
The square root: about 1.2649.
3 Write the hypotheses
H₀ is the "nothing new" idea: it has the equal sign.
Here: the mean change is 0.
Hₐ is what we want to show.
Here: the mean change is more than 0.
More than means only the right end counts.
One tail.
4 The test number
The SD of the mean difference: 1.2649 over the square root of 6, about 0.5164.
t is the mean difference minus 0, over 0.5164: about 3.873.
5 The cut-off
The t-table needs df: n minus 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, 3.873, is past the cut-off: in the reject part.
So we reject H zero.
7 Say it in words
In words: at the 5% level, there is enough evidence that the scores went up.
8 Check
Let's check with the mean difference itself.
The cut-off for it is 0 plus 2.015 times 0.5164: 1.0405.
The mean difference, 2, is past it.
The same decision.
So it is right!
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.