Statistics: the matched pairs t-test
The tutor shows an example of the matched pairs t-test.
In my post from Dec 11 I began about the matched pairs t-test. It’s used to determine if two samples come from the same population.
In my previous post I mentioned generating two lists of random numbers. The second one, I pointed out, has all its entries increased by 5.
Here are the two lists:
| random | random + 5 | diff |
| 13 | 95 | -82 |
| 48 | 66 | -18 |
| 7 | 83 | -76 |
| 99 | 7 | 92 |
| 92 | 57 | 35 |
| 41 | 64 | -23 |
| 68 | 62 | 6 |
| 35 | 88 | -53 |
| 21 | 57 | -36 |
| 64 | 34 | 30 |
| 91 | 28 | 63 |
| 18 | 96 | -78 |
| 31 | 7 | 24 |
| 97 | 98 | -1 |
| 73 | 92 | -19 |
Testing against a supposition that the samples come from the same distribution, the mean difference should be 0. The t-statistic is the observed mean difference, minus 0, all divided by the standard deviation of the observed differences:
t = (diff – 0)/(Σ(diff)2/(n-1))1/2
It has n-1 degrees of freedom: 14, in this case.
Crunching the numbers (this time, with the Casio fx-260Solar) gives t=-0.174, which is virtually the middle of the distribution. In this context, the matched pairs t-test cannot distinguish that one list differs from the other.
HTH:)
Source:
Harnett, Donald L. and James L. Murphy. Statistical Analysis for Business and Economics. Don Mills: Addison-Wesley, 1993.
Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.
Leave a Reply
You must be logged in to post a comment.