Home / IB Mathematics SL 4.10 Spearman’s rank correlation coefficient AI SL Paper 1- Exam Style Questions

IB Mathematics SL 4.10 Spearman’s rank correlation coefficient AI SL Paper 1- Exam Style Questions- New Syllabus

Question

In a regional competition, two judges, Brett and Santa, are asked to rank eight sheepdogs based on their performance. The sheepdogs are identified by the letters \( \text{A} \) to \( \text{H} \). The rankings awarded by each judge are shown in the table below:
Rank\( 1 \)\( 2 \)\( 3 \)\( 4 \)\( 5 \)\( 6 \)\( 7 \)\( 8 \)
Brett\( \text{A} \)\( \text{C} \)\( \text{D} \)\( \text{B} \)\( \text{E} \)\( \text{F} \)\( \text{G} \)\( \text{H} \)
Santa\( \text{A} \)\( \text{B} \)\( \text{D} \)\( \text{C} \)\( \text{E} \)\( \text{G} \)\( \text{F} \)\( \text{H} \)
(a) State the rank that Brett assigned to sheepdog \( \text{B} \).
(b) Calculate Spearman’s rank correlation coefficient, \( r_s \), for this data set.
(c) Interpret the value of \( r_s \) found in part (b) in the context of the agreement between the two judges.

Most-appropriate topic codes (IB Math AI 2025):

SL 4.4: Introduction to correlation; interpretation of positive and negative correlation — part (c)
SL 4.10: Calculation and interpretation of Spearman’s rank correlation coefficient — parts (b), (c)
▶️ Answer/Explanation

(a)
From Brett’s row, dog B is in rank position 4.

\(\boxed{4}\)

(b)
First, assign numerical ranks to each dog for both judges:

DogABCDEFGH
Brett \(R_B\)14235678
Santa \(R_C\)12435768
Diff. \(d\)02-200-110
\(d^2\)04400110

Sum of \(d^2 = 0 + 4 + 4 + 0 + 0 + 1 + 1 + 0 = 10\)
Spearman’s rank correlation coefficient:
\( r_s = 1 – \frac{6 \sum d^2}{n(n^2 – 1)} = 1 – \frac{6 \times 10}{8 \times (64 – 1)} \)
\( = 1 – \frac{60}{8 \times 63} = 1 – \frac{60}{504} \)
\( = 1 – 0.1190476\ldots = 0.880952\ldots \approx 0.881 \)

\(\boxed{0.881}\) (to 3 s.f.)

(c)
Since \( r_s \) is close to +1, there is a strong positive correlation between Brett’s and Santa’s rankings. This means the judges largely agree on the ordering of the dogs’ skill levels, though not perfectly (since \( r_s \neq 1 \)).

Comment: There is a strong positive association between the rankings given by Brett and Santa. They largely agree but not completely.

Scroll to Top