In simple terms
A friendly intro before the formal notes — no formulas yet.
Testing Without Assumptions
Non-parametric tests are statistical methods for testing hypotheses that don't require your data to fit a specific pattern, like the bell curve of a normal distribution. They work by comparing the ranks of data points, not their exact values.
Imagine judging a baking competition. A parametric test would be like scoring each cake out of 100, where one disastrous cake could heavily skew the average score for a team. A non-parametric test is like simply ranking the cakes from best to worst. This ranking isn't affected by how badly the worst cake failed; it's just last, giving a more robust comparison of the teams' overall baking ability.
- 1
State the null and alternative hypotheses regarding the population median(s).
- 2
Calculate the test statistic by ranking the data or counting signs, discarding any zero differences.
- 3
Find the critical value from the statistical tables for your chosen significance level.
- 4
Compare your test statistic with the critical value to decide whether to reject the null hypothesis.
Explore the concept
Use the live diagram and synced steps — play it or tap a step card to walk through.
Key formulas
Tap any symbol to reveal exactly what it means and its units.
Tap a symbol — great for exam definitions
Full topic notes
Formal explanation with the rigour you need for the exam.
The Sign Test
The Sign Test is the simplest non-parametric test. It is used to test a hypothesis about the median of a single population. The core idea is to count how many data points are above (+) and below (-) the hypothesised median. If the null hypothesis is true, we would expect a roughly equal number of pluses and minuses. Any significant deviation from this suggests the true median is different.
Hypotheses: vs (or , or ), where is the population median.
Procedure: For each data point , record a '+' if and a '−' if . Ignore any data points where and reduce the sample size accordingly.
Test Statistic: Let be the number of '+' signs and be the number of '−' signs. The test statistic is the smaller of and .
Distribution: Under , the number of pluses (or minuses) follows a binomial distribution, . We can use this to find a p-value, .
The Wilcoxon Signed-Rank Test
The Wilcoxon signed-rank test is also used to test the median of a single population. It is generally more powerful than the sign test because it uses more information from the data. Instead of just noting whether a value is above or below the median, it considers the magnitude of these differences by ranking them. This makes it more sensitive to changes in the data.
Procedure: Calculate the difference for each data point. Discard any zero differences.
Ranking: Rank the absolute values of the differences, , from smallest to largest. Average ranks for any ties.
Summing Ranks: Calculate , the sum of ranks corresponding to positive differences, and , the sum of ranks corresponding to negative differences.
Test Statistic: The test statistic is .
Critical Value: Compare to the critical value from the MF19 tables for the given and significance level. Reject if is less than or equal to the critical value.
The Wilcoxon Rank-Sum Test
This test is the non-parametric equivalent of the independent two-sample t-test. It is used to determine if two independent samples have been drawn from populations with the same median. The method involves combining both samples, ranking all the data points, and then summing the ranks for one of the samples.
Hypotheses: : The two populations have the same median. : The two populations do not have the same median (or one is greater than the other).
Procedure: Let the sample sizes be and . Combine all observations into a single set.
Ranking: Rank the combined data from smallest to largest. Average ranks for any ties.
Test Statistic: Calculate the sum of the ranks for the smaller sample. Let this be . If , either can be used.
Critical Region: Compare to the critical region from the MF19 tables for , and the significance level. Reject if falls inside the critical region (e.g., is less than or equal to the lower value, or greater than or equal to the upper value).
For the Wilcoxon rank-sum test, the tables in MF19 give the critical region for the rank sum of the smaller sample. Always calculate the rank sum for the smaller sample to use the tables directly. If you accidentally sum the ranks for the larger sample (), you can find the sum for the smaller sample () using the formula , where is the total sample size.
Large Sample Approximations
The tables for Wilcoxon tests only go up to a certain sample size (e.g., for signed-rank). For larger samples, the distribution of the test statistic can be approximated by a normal distribution. This allows us to calculate a z-score and use standard normal tables to find a p-value.
Wilcoxon Signed-Rank Test: For large , the test statistic is approximately normal with: Mean: Variance:
Wilcoxon Rank-Sum Test: For large and , the rank sum of the sample of size is approximately normal with: Mean: Variance:
When using a normal approximation for a discrete test statistic like or , you must apply a continuity correction. If you are calculating , you use . If you are calculating , you use . This adjustment accounts for approximating a discrete distribution with a continuous one.
Worked examples
See the formulas applied — reveal one step at a time, like the exam.
A local authority claims the median response time for an ambulance is 8 minutes. A random sample of 10 emergency calls had the following response times (in minutes): 7.5, 9.1, 8.2, 10.5, 7.9, 8.0, 9.5, 11.2, 7.1, 8.9. Test the authority's claim at the 5% significance level.
- 1
Let be the median response time. 1. Hypotheses: (two-tailed test)
The manufacturer of a battery claims its median lifespan is 250 hours. A random sample of 8 batteries is tested and their lifespans are: 241, 262, 255, 238, 245, 271, 231, 258. Use a Wilcoxon signed-rank test at the 5% level to test if the median lifespan is different from 250 hours.
- 1
Let be the median lifespan. 1. Hypotheses: (two-tailed test)
How it all connects
The big idea sits in the middle — tap a linked idea to explore the link.
Tap a linked idea to see how it connects back to the main topic — that connection is what examiners reward.
Glossary
Try to recall each definition before you reveal it.
Quick check
Answer in your head first — then tap to check. No pressure.
Revision flashcards
Flip the card. Test yourself before the exam.
What is a non-parametric test?
A hypothesis test that does not assume the data is drawn from a population with a specific distribution (e.g., normal). It often uses ranks or signs instead of the original data values.
Key takeaways
Review these before you close the topic — retrieval beats re-reading.
- ✓
Hypotheses: vs (or , or ), where is the population median.
- ✓
Procedure: For each data point , record a '+' if and a '−' if . Ignore any data points where and reduce the sample size accordingly.
- ✓
Test Statistic: Let be the number of '+' signs and be the number of '−' signs. The test statistic is the smaller of and .
- ✓
Distribution: Under , the number of pluses (or minuses) follows a binomial distribution, . We can use this to find a p-value, .
Practice — then mark it
The whole point: a real Cambridge question, marked mark-by-mark.
Test Your Knowledge on Non-Parametric Tests
Test Your Knowledge on Non-Parametric Tests
Extra simulations & links
PhET, GeoGebra and other curated tools — open in a new tab.
Frequently asked
Checkpoint
One marked question is worth ten re-reads — close the loop before you move on.
Reading it isn’t knowing it — prove it.
Before you move on: do Test Your Knowledge on Non-Parametric Tests on paper, snap a photo, and get examiner-style feedback on exactly where you win and lose marks.