One point moves. Only one of the two numbers cares.
Spearman's rank correlation, when it beats Pearson, and what each of them is actually measuring.
The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.
Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.
5 is rank 1, 9 is rank 2, 12 is rank 3 and 20 is rank 4. So the ranks, in the order the values were given, are 3, 1, 2, 4. A rank is a position, so keep the original order when you write them down.
(3 + 4) ÷ 2 = 3.5. Two tied values share the average of the places they occupy, which is the step that makes tied ranks correct.
r = −0.8. The strength is how far the number is from 0, and the sign only gives the direction. A negative value is not a weak one.
y always rises, but by 2, 4 and then 8, so the steps are not equal. The pattern always goes the same way but is not a straight line, which is called monotonic.
Predict first. One point of a straight-line scatter is dragged a long way out to the right. Which coefficient do you expect to fall, the linear coefficient r, Spearman or both? Which falls further, and why? Decide before you drag.
Drag the point out in small steps and compare both readings at each step. Then switch to the curved relationship and compare again. Which reading depends on the actual values, and which only on the order?
Six points on a perfect straight line, so both coefficients start at 1. Drag the last point away and watch what happens to each.
Spearman only looks at the order. Moving a point further out does not change which one is biggest.
| Pearson r | Spearman rs | |
|---|---|---|
| Uses | the actual values | only the ranks |
| Detects | linear association only | any monotonic trend |
| Outliers | very sensitive | barely affected |
| r = 1 means | exactly on a straight line | the order matches perfectly |
Monotonic means "always going the same way". It does not have to be straight. A curve that rises the whole time has Spearman exactly 1 and a Pearson below 1, which is the second demonstration above. A curve that falls the whole time is monotonic too.
Still to come in this lesson:
In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.
One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.
Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.
Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.
Teaching students who need extra support? Student codes for 5, 10 or 30 students.