Wilcoxon signed rank test SolutionWilcoxon signed rank test
Wilcoxon signed rank test
Solution
Wilcoxon signed rank test :
Here hypothesis for test is,
H0 : Difference between the pairs follows a symmetric distribution around zero.
Vs
H1 : Difference between the pairs does not follow a symmetric distribution around zero.
For calculating test statistic value we make a table- table1-
Table2-
Nr : Total number of observations = 12.
A test statistic | W | = | -1 - 2 + 3 - 4 + 5 - 6 - 7 - 8 - 9 - 10 - 11 - 12 | = | - 62 | = 62
Table value Walpha=0.05,12,two tailed = 14
Decision : | W | > Walpha=0.05,12,two tailed .
Reject H0 at 5% level of significance.
Conclusion - Difference between the pairs does not follow a symmetric distribution around zero.
Hence an answer.
| i | X1,i | X2,i | sgn | abs |
| 1 | 20.12 | 18.05 | -1 | 2.07 |
| 2 | 23.56 | 21.77 | -1 | 1.79 |
| 3 | 22.03 | 22.57 | 1 | 0.54 |
| 4 | 19.15 | 17.06 | -1 | 2.09 |
| 5 | 21.23 | 21.22 | -1 | 0.01 |
| 6 | 24.77 | 23.8 | -1 | 0.97 |
| 7 | 16.16 | 17.2 | 1 | 1.04 |
| 8 | 18.55 | 14.98 | -1 | 3.57 |
| 9 | 21.87 | 20.03 | -1 | 1.84 |
| 10 | 24.23 | 21.15 | -1 | 3.08 |
| 11 | 23.21 | 22.78 | -1 | 0.43 |
| 12 | 25.02 | 23.7 | -1 | 1.32 |
