Non-parametric tests

Further Maths · Further Probability & Statistics. The idea in plain words, the rules to remember, the mistake to avoid and a worked example, written and checked by Mega Lecture.

Test this topic freeAll Further Maths topics

The idea

A t-test assumes the population is normal. A non-parametric test makes no such assumption about the shape of the distribution, so it is used when the population cannot be taken as normal or when the data are only ranks or ratings. These tests are about the median, not the mean.

The sign test uses only whether each value is above or below the hypothesised median. The Wilcoxon tests also use the sizes of the differences, through their ranks, so they use more of the information. In return the signed-rank tests need the distribution to be symmetrical, and the rank-sum test needs the two distributions to have the same shape.

Match the test to the design: one sample, paired samples (work with the differences), or two independent samples (rank-sum).

Rules to remember

Common mistake

In the Wilcoxon tests a small statistic is the significant one, so H0 is rejected when T (or W) is less than or equal to the critical value. Students who are used to t and χ2 tests reject when the statistic is larger, which is the wrong way round.

Worked example

A random sample of 7 values is used to test H0: median = 20 against H1: median > 20 with a Wilcoxon signed-rank test. The values minus 20 are 5, −2, 9, 3, −1, 7 and 4. The critical value for n = 7 (one-tail, 5%) is 3. Carry out the test.

  1. Sizes in order: 1, 2, 3, 4, 5, 7, 9 take ranks 1 to 7. The negative differences −1 and −2 have ranks 1 and 2.
  2. Q = 1 + 2 = 3 and P = 3 + 4 + 5 + 6 + 7 = 25. Check: 3 + 25 = 28 = 7 × 8/2.
  3. T = smaller of P and Q = 3. Since 3 ≤ 3, T is in the critical region.

Answer: T = 3; reject H0. There is evidence at the 5% level that the median is greater than 20.

Ask about this

Type what you are stuck on. The helper finds the explanation, worked examples and the notes to read, free and instant.

Keep going

← χ2-testsProbability generating functions →Take a Further Maths test