Spearman's Rank Correlation Coefficient, Including Tied Ranks (Correlation: PMCC and Spearman's Rank) | OCR B (MEI) A Level Further Maths notes
Free preview: Spearman's Rank Correlation Coefficient, Including Tied Ranks
Correlation Using Ranks
Year 1 (AS) for OCR B (MEI), where it is in the Statistics Minor (the AS content). Edexcel teaches it in Further Statistics 2. For Edexcel and OCR A, check your own specification for whether it is taught in Year 1 or Year 2.
Let's start with two judges at a baking contest. They don't give marks, only an order: 1st, 2nd, 3rd... How well do they agree? The PMCC needs measurements, but here we only have ranks (positions in an order).
- Spearman's rank correlation coefficient is the PMCC of the ranks.
- It measures how well the relationship is described by a monotonic function: as one goes up, the other always goes up (or always down), not necessarily in a straight line.
- Like r, it lies between โ1 and 1. means the two orders match exactly; means one order is the exact reverse of the other.
- d is the difference between the two ranks for each item; n is the number of items.
- This short formula gives exactly the PMCC of the ranks when there are no ties.
Where the 6 comes from (no ties)
- Both sets of ranks are 1, 2, ..., n, so they have the same mean and the same .
- (the means cancel).
- So , and .
๐ก In plain words
- Small differences between ranks mean small and close to 1.
- Check: always. If not, you've ranked wrongly.
Method: Spearman's coefficient
- Rank each variable separately, in the same direction.
- d = rank of x โ rank of y for each item; check .
- Square and add for .
- Substitute into the formula, and interpret.
๐ Watch me do it: five people's hours of sleep x and reaction times y (seconds): (6.5, 0.42), (8, 0.31), (7, 0.35), (5, 0.48), (9, 0.33). Find
| What I write | Why I do it |
|---|---|
| Rank x (1 = smallest): 2, 4, 3, 1, 5 | Step 1: 5 is the smallest sleep, so it gets rank 1. |
| Rank y (1 = smallest): 4, 1, 3, 5, 2 | Same direction for y: 0.31 is the smallest time. |
| d = rank x โ rank y: โ2, 3, 0, โ4, 3 | Step 2. Check: โ2 + 3 + 0 โ 4 + 3 = 0 โ. |
| Step 3. | |
| Step 4: n = 5, so . | |
| Strong negative association: more sleep goes with quicker reactions | Interpret the sign and size in context. |
โ๏ธ YOUR TURN 1
Try this first:
Six students' maths and physics marks: (72, 65), (55, 58), (81, 77), (64, 70), (90, 85), (48, 52). Find .
Answer:
- Maths ranks (1 = lowest): 4, 2, 5, 3, 6, 1. Physics ranks: 3, 2, 5, 4, 6, 1.
- d: 1, 0, 0, โ1, 0, 0. โ, .
- (3 s.f.): strong agreement.
Two Judges, Step by Step
| Cake | A | B | C | D | E | F | G | H |
|---|---|---|---|---|---|---|---|---|
| Judge 1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| Judge 2 | 2 | 1 | 4 | 3 | 6 | 8 | 5 | 7 |
| d | โ1 | 1 | โ1 | 1 | โ1 | โ2 | 2 | 1 |
| dยฒ | 1 | 1 | 1 | 1 | 1 | 4 | 4 | 1 |
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
Log in ยท Subscribe ยท Start free trial
All notes in Correlation: PMCC and Spearman's Rank
- The Product Moment Correlation Coefficient From Summary Statistics
- Spearman's Rank Correlation Coefficient, Including Tied Ranks
- Hypothesis Tests for Correlation and Association: PMCC or Spearman?
What's inside for this topic
3 teacher notes, 103 practice questions, 45 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: The Product Moment Correlation Coefficient From Summary Statistics Next note: Hypothesis Tests for Correlation and Association: PMCC or Spearman?
Spearman's Rank Correlation Coefficient, Including Tied Ranks on other exam boards
All OCR B (MEI) A Level Further Maths topics ยท A Level Further Maths