Wilcoxon signed-ranks large sample example
A hostel consistently receives high ratings from its visitors and has many repeat visitors. On its comment card, it asks visitors to rate overall satisfaction on a scale from 1 to 5, 5 being best. The hostel changed its décor. It had 19 visitors who visited before and after the changes. These were the results:
|
Visitor |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
|
Before |
5 |
5 |
5 |
3 |
4 |
3 |
3 |
5 |
5 |
5 |
|
After |
2 |
1 |
3 |
4 |
4 |
2 |
1 |
4 |
5 |
2 |
|
Visitor |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
|
|
Before |
4 |
3 |
4 |
4 |
3 |
4 |
5 |
4 |
4 |
|
|
After |
3 |
1 |
1 |
5 |
5 |
2 |
4 |
2 |
3 |
|
Is there a significant decrease in the ratings? Test at a 1% level of significance.
Here is the Megastat output:
|
Wilcoxon Signed Rank Test |
|
|
|
||
|
|
|
|
|
|
|
|
|
|
variables: |
Before -
After |
|
|
|
|
|
134.5 |
sum of
positive ranks |
|
|
|
|
|
18.5 |
sum of
negative ranks |
||
|
|
|
|
|
|
|
|
|
|
17 |
n |
|
|
|
|
|
76.50 |
expected value |
|
|
|
|
|
21.12 |
standard deviation |
|
|
|
|
|
2.75 |
z |
|
|
|
|
|
.0030 |
p-value (one-tailed, upper) |
||