aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Stay in the loop

Study tips, product updates, and early access to new features.

aimnova.

AI-powered IB study platform with personalised plans, instant feedback, and examiner-style marking.

IB Subjects
  • All IB Subjects
  • IB Diploma
  • IB ESS
  • IB Economics
  • IB Business Management
  • IB Math AI
  • IB Math AA
Question Banks
  • ESS Question Bank
  • Economics Question Bank
  • Business Management Question Bank
  • Math AI Question Bank
  • Math AA Question Bank
Predicted Topics 2026
  • ESS Predictions 2026
  • Economics Predictions 2026
  • Business Management Predictions 2026
  • Math AI Predictions 2026
  • Math AA Predictions 2026

Study Resources

  • Free Study Notes
  • Mock Exams
  • Revision Guide
  • Flashcards
  • Exam Skills
  • Command Terms
  • Past Paper Feedback
  • Grade Calculator
  • Exam Timetable 2026

Company

  • Features
  • Pricing
  • About Us
  • Blog
  • Contact
  • Terms
  • Privacy
  • Cookies

© 2026 Aimnova. All rights reserved.

Made with 💜 for IB students worldwide

v0.1.898
NotesMath AI HLTopic 4.10Spearman Rank Correlation
Back to Math AI HL Topics
4.10.11 min read

Spearman Rank Correlation

IB Mathematics: Applications and Interpretation • Unit 4

IB exam ready

Study like the top scorers do

Access a smart study planner, AI tutor, and exam vault — everything you need to hit your target grade.

Start Free Trial

Contents

  • What Spearman rank correlation means
  • How to calculate Spearman coefficient
  • Tied ranks and interpretation
  • Past-paper style responses

What Spearman rank correlation means

Big idea: Spearman rank correlation measures how strongly two rankings move together.

It is used for ordinal data or non-linear monotonic patterns.

If higher rank in one variable usually matches higher rank in the other, correlation is positive.

+1 strong positive rank agreement, -1 strong negative, 0 little/no monotonic association.

How to calculate Spearman coefficient

Meaning of d: d is the difference between the two ranks for the same observation.

Worked example

For 5 students, rank differences d are: 1, -1, 0, 2, -2.

Find rs.

Step by step

  1. Square each d: 1,1,0,4,4
  2. Sum d2 = 10
  3. Use formula: rs = 1 - 6(10)/(5(25-1))
  4. rs = 1 - 60/120 = 0.5

Final answer

rs = 0.5, showing moderate positive rank correlation.

IB-style question — calculate and interpret rₛ [6 marks]

A manager records, for 6 sales representatives, the number of training hours they completed last month and their sales for the month (in thousands of pounds).

Rep: A B C D E F Hours: 20 14 28 11 25 17 Sales (£000): 52 40 60 33 44 55

(a) Calculate Spearman's rank correlation coefficient rₛ between training hours and sales.

(b) Interpret your value of rₛ in context.

Step by step

  1. Rank each variable from 1 (highest) to 6 (lowest). Hours rank to A→3, B→5, C→1, D→6, E→2, F→4; sales rank to A→3, B→5, C→1, D→6, E→4, F→2.
  2. Find d (difference of the two ranks) for each rep, then square it. Only E and F differ.
  3. As a check the rank differences sum to zero, then add the squares.
  4. Write the formula before substituting (n = 6 pairs).
  5. Substitute n = 6 and Σd² = 8.
  6. (b) rₛ is close to +1, so reps who do more training tend to rank higher in sales — a strong positive monotonic association between training hours and sales.

Final answer

(a) rₛ = 0.771 (3 s.f.). (b) A strong positive monotonic association — more training hours tends to go with higher sales.

Never wonder what to study next

Get a personalized daily plan based on your exam date, progress, and weak areas. We'll tell you exactly what to review each day.

Try Free Study Plan7-day free trial • No card required

Tied ranks and interpretation

Ties: If two values tie, assign each the average of the tied rank positions.

Worked example

Values: 10, 12, 12, 15.

What ranks are assigned?

Step by step

  1. 10 gets rank 1
  2. 12 and 12 would be ranks 2 and 3, so each gets (2+3)/2 = 2.5
  3. 15 gets rank 4

Final answer

Ranks are 1, 2.5, 2.5, 4.

IB-style question — rₛ with tied ranks [6 marks]

Seven students record their average daily screen time (hours) and their average nightly sleep (hours).

Student: 1 2 3 4 5 6 7 Screen (h): 5 3 6 4 5 2 7 Sleep (h): 7 8 5 7 6 9 4

(a) Rank each variable from 1 (highest) to 7 (lowest), giving tied values the average rank.

(b) Calculate Spearman's rank correlation coefficient rₛ.

(c) Interpret your answer in context.

Step by step

  1. (a) Screen time has two values of 5, which would take positions 3 and 4, so each gets the average rank 3.5.
  2. Sleep has two values of 7, which would take positions 3 and 4, so each gets 3.5.
  3. (b) Find each d (screen rank − sleep rank) and square it.
  4. Check Σd = 0, then sum the squares.
  5. Apply the formula with n = 7.
  6. (c) rₛ is close to −1, so students with more screen time tend to rank lower for sleep — a strong negative monotonic association between screen time and sleep.

Final answer

(a) Tied values each take the average rank (3.5). (b) rₛ = −0.938 (3 s.f.). (c) A strong negative monotonic association — more screen time tends to go with less sleep.

Exam Tips:

  • Always show tied-rank calculation.
  • Interpret sign and strength of rs in words.
  • Do not claim causation.

Past-paper style responses

Weak response

  • Only gives calculator output
  • No context interpretation
  • No mention of ties

Strong response

  • Shows formula and key steps
  • Interprets sign + strength in context
  • Handles ties correctly
Full-credit habit: Write one final sentence in context, for example: There is a moderate positive association between revision ranking and test ranking.

IB-style question — Spearman hypothesis test

For n = 8 paired ranks, Spearman's rₛ = 0.83. The critical value at the 5% level is 0.738.

Test, at the 5% level, whether there is a monotonic relationship.

Step by step

  1. State the hypotheses (Spearman tests a MONOTONIC relationship, not 'linear').
  2. Compare |rₛ| with the critical value.
  3. Since it exceeds the critical value, reject H₀.

Final answer

0.83 > 0.738 ⇒ reject H₀: there is evidence of a monotonic relationship. (rₛ is unchanged by any value change that keeps the ranks the same.)

IB Exam Questions on Spearman Rank Correlation

Practice with IB-style questions filtered to Topic 4.10.1. Get instant AI feedback on every answer.

Practice Topic 4.10.1 QuestionsBrowse All Math AI HL Topics

How Spearman Rank Correlation Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Spearman Rank Correlation.

AO1
Describe

Give a detailed account of processes or features in Spearman Rank Correlation.

AO2
Explain

Give reasons WHY — cause and effect within Spearman Rank Correlation.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Spearman Rank Correlation.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Math AI HL Topics

Continue learning with these related topics from the same unit:

4.1.1Population and Samples
4.1.2Data Classification
4.1.3Sampling Techniques
4.1.4Data Reliability and Outliers
View all Math AI HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Math AI HL

Previous
4.9.2Normal Probabilities
Next
Contingency Tables and Chi-Squared4.11.1

37 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start Free TrialView All Math AI HL Topics