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

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

Question

During a sheepdog trial, two officials, Aris and Beatrix, evaluate the performance of eight dogs, identified as A through H. Their respective rankings for the dogs are presented in the following table.
Rank12345678
ArisACDBEFGH
BeatrixABDCEGFH
(a) State the rank assigned to sheepdog B by Aris.
(b) Determine Spearman’s rank correlation coefficient for this data set.
(c) Interpret your result from part (b) regarding the level of agreement between the two judges.

Most-appropriate topic codes:

• SL 4.10: Spearman’s rank correlation coefficient — part (a), part (b) and part (c)
▶️ Answer/Explanation
Detailed solution 

(a)
By inspecting the table, Aris ranks sheepdog B at position 4.

(b)
Organize the ranks for each dog (A to H) :
Aris: \(1, 4, 2, 3, 5, 6, 7, 8\)
Beatrix: \(1, 2, 4, 3, 5, 7, 6, 8\)

Calculate the differences \(d\) and their squares \(d^2\) :
A: \(d = 1-1=0 \rightarrow d^2 = 0\)
B: \(d = 4-2=2 \rightarrow d^2 = 4\)
C: \(d = 2-4=-2 \rightarrow d^2 = 4\)
D: \(d = 3-3=0 \rightarrow d^2 = 0\)
E: \(d = 5-5=0 \rightarrow d^2 = 0\)
F: \(d = 6-7=-1 \rightarrow d^2 = 1\)
G: \(d = 7-6=1 \rightarrow d^2 = 1\)
H: \(d = 8-8=0 \rightarrow d^2 = 0\)
\(\sum d^2 = 10\)

Using the Spearman’s formula \(r_s = 1 – \frac{6 \sum d^2}{n(n^2 – 1)}\) with \(n=8\) :
\(r_s = 1 – \frac{6(10)}{8(63)} = 1 – \frac{60}{504}\)
\(r_s \approx 0.881\) 

(c)
With an \(r_s\) value of approximately \(0.881\), there is a strong positive correlation. This indicates that Aris and Beatrix are in significant agreement regarding the rankings of the sheepdogs

Question

A research group is utilizing a mathematical model to estimate the subjective well-being of various nations. A metric \(x\) is derived from measurable factors such as healthcare accessibility and social safety nets, with the assumption that higher \(x\) values correspond to increased happiness.
To evaluate the accuracy of this model, a study is conducted across six nations: \(A\), \(B\), \(C\), \(D\), \(E\), and \(F\). In these locations, happiness is measured through direct surveys, resulting in a score \(y\) out of \(10\), where higher scores indicate greater well-being.
To choose the participating nations, the global population of countries is categorized into three distinct tiers based on economic wealth, and two countries are selected at random from each tier.
(a) Identify the specific sampling method used in this study.
The data collected from the surveys and the corresponding model values are presented in the table below.
CountryABCDEF
Value from the model (\(x\))12.315.214.118.520.119.2
Happiness score (\(y\))5.27.36.26.98.07.2
The researchers consider the model a reliable predictor if the Pearson’s product-moment correlation coefficient, \(r\), exceeds \(0.8\).
(b) (i) Calculate the value of \(r\).
(ii) Determine whether the model is a valid predictor based on the researchers’ criteria.
(c) Find the equation of the least-squares regression line of \(y\) on \(x\).
Consider a country with a model value of \(x=17.2\).
(d) Use your regression equation to estimate the happiness score for this country.

Most-appropriate topic codes:

• SL 4.1: Concepts of population, sample, and sampling techniques — part (a)
• SL 4.4: Pearson’s product-moment correlation coefficient (\(r\)) — part (b)
• SL 4.10: Regression line and making predictions — part (c) and Part (d)
▶️ Answer/Explanation
Detailed solution

(a)
The population was divided into sub-groups (tiers) based on wealth, and a random sample was extracted from each. This is Stratified sampling .

(b)
(i) Inputting the data into a Graphic Display Calculator (GDC) for linear regression:
\(r = 0.853899\dots\)
\(r = 0.854\) (to 3 s.f.) .
(ii) Since the researchers’ requirement is \(r > 0.8\) and \(0.854 > 0.8\), the model is a valid predictor.

(c)
Using the GDC output:
\(a = 0.265851\dots\) and \(b = 2.39573\dots\)
The regression equation is \(y = 0.266x + 2.40\) .

(d)
Substitute \(x = 17.2\) into the equation:
\(y = 0.265851\dots(17.2) + 2.39573\dots = 6.96837\dots\)
Estimated Happiness score = 6.97.

Scroll to Top