EuraStudy
This topic covers distribution-free tests used when the assumptions of the parametric tests fail: the sign test for a median, the Wilcoxon signed-rank test for a median or matched pairs, and the Wilcoxon rank-sum (Mann-Whitney) test for two independent samples. It develops how to rank data, handle ties, and choose the appropriate test.
5 sections~13 min reading time3 competenciesLevel Standard 2 · Advanced 3
basic level
Non-parametric tests are principally full A-Level (Paper 3) content within the statistical-enquiry strand.
higher level
The full A-Level expects the sign test, both Wilcoxon tests, the handling of ties, and a reasoned choice of test.
Reading depth: In depth
Text size: Standard
Choosing a hypothesis test
Twelve judges rank two products on a 1-to-10 preference scale, and the two sets of ordinal scores are to be compared for the same judges. Which test is appropriate?
The scores are ordinal, so a non-parametric test is appropriate.
The same judges rate both products, so the data are paired.
A paired non-parametric test — the sign test or the Wilcoxon signed-rank test on the differences.
Result: Because the data are ordinal and paired, a sign or Wilcoxon signed-rank test on the differences is appropriate.
Typical mistakes
Active revision
A small sample of skewed reaction times is to be tested for a change in centre. Explain which family of test is appropriate and why.
Active recall
Recall the key points — then reveal.
Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)
Signed differences for the sign test
The sign test
Count signs of the differences from ; the count is binomial with .
Ten non-zero differences from a hypothesised median give 9 positive and 1 negative sign. Test at the 5% level whether the median differs from .
: median against : median (two-tailed).
Under , the number of positives is ; the smaller count is 1.
, so the two-tailed p-value is .
Since , reject : there is evidence the median differs from .
Result: The two-tailed p-value 0.0215 is below 0.05, so reject : the median appears to differ from .
Typical mistakes
Active revision
Twelve differences from a hypothesised median give 10 positive and 2 negative signs. Carry out a two-tailed sign test at the 5% level, given for .
Active recall
Recall the key points — then reveal.
Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)
Ranking for the Wilcoxon signed-rank test
The Wilcoxon signed-rank statistic
Rank the absolute differences; sum ranks by sign; reject for a small .
Eight paired differences are -1, 2, 3, 4, 5, 6, 7, 8. Test at the two-tailed 5% level whether the median difference is zero (critical value 3 for n = 8).
= 1, 2, 3, 4, 5, 6, 7, 8 rank as 1 to 8; the negative difference has rank 1.
and (and ).
.
Since , reject : the median difference is not zero.
Result: , so reject : there is evidence of a non-zero median difference.
Typical mistakes
Active revision
Eight paired differences give and . State the test statistic and, using a critical value of 3 (n = 8, two-tailed 5%), give the conclusion.
Active recall
Recall the key points — then reveal.
Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)
The Wilcoxon rank-sum statistic
Rank the pooled data; sum one sample's ranks; compare with tabulated critical values.
Samples A = 4, 7, 9 and B = 5, 8, 11 are independent. Pool and rank the data and find each rank-sum.
4, 5, 7, 8, 9, 11 receive ranks 1 to 6.
Ranks 1, 3, 5 belong to A (4, 7, 9); ranks 2, 4, 6 belong to B (5, 8, 11).
and .
is compared with the tabulated critical value for samples of sizes 3 and 3; the check confirms the ranking.
Result: and (summing to 21); is compared with the rank-sum critical value for the two sample sizes.
Typical mistakes
Active revision
Two independent samples of sizes 4 and 5 are pooled and ranked. Explain how to form the rank-sum statistic and what it is compared with.
Active recall
Recall the key points — then reveal.
Sources: Pearson Edexcel Level 3 Advanced GCE in Statistics (9ST0) Specification (Pearson Edexcel)
A study measures pain scores (ordinal) for two independent groups given different treatments. Recommend a test and outline the conclusion.
The scores are ordinal and the two groups are independent.
The Wilcoxon rank-sum (Mann-Whitney) test compares the two independent groups without assuming normality.
If the rank-sum falls beyond the critical value, conclude there is evidence that the two treatments' median pain scores differ; state the direction.
The test shows a difference in location, not causation or effect size.
Result: Use the Wilcoxon rank-sum test for the two independent ordinal samples, concluding about a difference in median pain score with the appropriate caveats.
Typical mistakes
Active revision
A researcher compares recovery times for two independent groups of patients, with strongly skewed data. Recommend a test, justify it, and describe how you would conclude.
Active recall
Recall the key points — then reveal.
Sources: GCE AS and A level subject content (Statistics) (Department for Education / Ofqual)
References & sources
Department for Education / Ofqual