Blog › Research methods
The Wilcoxon Test: Done the Edexcel Way
Five steps, one rule to remember about the table, and two places students usually trip up. Here is the whole test with a worked example.
The 30-second version
Use the Wilcoxon signed-ranks test for repeated measures or matched pairs with ordinal (or higher) data, when looking for a difference. Find each difference, drop the zeros, rank the rest ignoring the sign, add up the ranks for each sign. T is the smaller total. The result is significant if T is equal to or less than the critical value.
Why this test comes up so often
The Wilcoxon test is the named inferential test in IAL Unit 1 cognitive psychology, and your practical investigation is a repeated-measures experiment analysed with it. Expect a calculation, an interpretation of a result, or a question on why it was the right test to use.
When to use it
- Looking for a difference between two conditions.
- Repeated measures or matched pairs design.
- Data are at least ordinal.
Worked example
Ten participants recall a list of words in silence and again with background music. The difference is silence minus music.
| Participant | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Difference | +3 | +5 | −1 | 0 | +2 | +4 | +6 | +1 | +3 | −2 |
| Rank (ignoring sign) | 5.5 | 8 | 1.5 | – | 3.5 | 7 | 9 | 1.5 | 5.5 | 3.5 |
- Drop the zeros. Participant 4 had no difference, so N = 9.
- Rank the differences, ignoring the sign. Smallest gets rank 1. Ties share the average: the two 1s share ranks 1 and 2, so each gets 1.5.
- Add the ranks for each sign. Negative ranks: 1.5 + 3.5 = 5. Positive ranks: 40.
- T is the smaller total. T = 5.
- Compare with the critical value. For N = 9, two-tailed, p ≤ 0.05, the critical value is 5. T = 5 is equal to the critical value, so the result is significant.
Sense check: check your ranks: the two totals should add up to N(N + 1) ÷ 2. Here, 9 × 10 ÷ 2 = 45, and 5 + 40 = 45.
The two classic mistakes
- Keeping the zeros in N. Zeros are dropped, and N goes down.
- Using the “greater than” rule. For Wilcoxon, T must be equal to or less than the critical value. That is the opposite of chi-squared and Spearman’s rho.
Writing the conclusion
T is 5 so it is significant.
T = 5, which is equal to the critical value of 5 for N = 9 at p ≤ 0.05 (two-tailed), so the result is significant. Participants recalled more words in silence than with music, and the null hypothesis can be rejected.
Justifying the test
Practice questionJustify the use of the Wilcoxon test in this study. (3 marks)
Give one reason per mark, each tied to the study: it looks for a difference (silence vs music); it is a repeated measures design (the same ten people did both); and the data are ordinal or higher (word recall scores).
Free download
The Wilcoxon step-by-step card
The five steps on one card, a critical value excerpt and a fresh data set with a full answer key.
- Five-step method with the ranking rules
- Practice data and full worked answers
- A “which rule for which test” reminder
Pop your email in below. You will go straight to the download page, and you will also get Exams Made Easy: one two-minute exam skill every Sunday. Unsubscribe any time.
Test yourself
1. What happens to a difference of zero?
It is dropped, and N is reduced by one.
2. Two scores tie for ranks 4 and 5. What rank does each get?
4.5.
3. T = 7, critical value 5. Significant?
No. T must be equal to or less than 5.
For teachers
Teaching this topic?
The PsychHack IAL Cognitive Psychology unit includes a full Wilcoxon methods lesson and the complete experimental practical. Join the list to hear when it launches.
