16. Non-parametric Tests

# 16.5 Paired Wilcoxon Signed Rank Test

This test is an alternative to the paired sample -test; it is a hypothesis test about means. It is based on a binomial distribution and we again have two cases, one for small samples and one for large samples.

**Case 1. Small samples ().**

*Test statistic* :

*Critical statistic* : from the Wilcoxon Signed-Rank Test Critical Values Table for which you need , and whether you want a one- or two-tailed test. Reject if .

**Case 2. Large samples ().**

*Test statistic* :

*Critical statistic* : from the *t* Distribution Table.

**Example 16.7** : Using the data given below for numbers of shoplifters at some store for a time before a security guard was hired and after a security guard was hired, decide if the expense of a security guard is worth it.

Here’re the shoplifter data, before and after the hiring of a security guard, combined with some data reduction calculations :

Day (Subject) |
Before |
After |
|D| | Rank | Signed Rank | |

M | 7 | 5 | 2 | 2 | 3.5 | 3.5 |

T | 2 | 3 | -1 | 1 | 1.5 | -1.5 |

W | 3 | 4 | -1 | 1 | 1.5 | -1.5 |

T | 6 | 3 | 3 | 3 | 5 | 5 |

F | 5 | 1 | 4 | 4 | 6 | 6 |

S | 8 | 6 | 2 | 2 | 3.5 | 3.5 |

S | 12 | 4 | 8 | 8 | 7 | 7 |

The data reduction columns include the essential steps of computing the difference , it’s absolute value , the rank of the absolute value and, finally, the ranks with the sign of added. It may be useful to order the data, like we did in Example 16.6, to make the ranking easier. As always, the order of the difference, and it’s sign. is important for interpretation and getting the direction of one-tailed tests right. In this case, we would hope that the number of shoplifters would go down after the security guard was hired; a positive difference would be good.

1. Hypothesis.

With the assignment 1 = before and 2 = after :

or

2. Critical statistic.

From the Wilcoxon Signed-Rank Test Critical Values Table with for a two-tailed test and find

3. Test statistic. First compute:

so

4. Decision.

so do not reject .

5. Interpretation.

Fire the security guard.

▢