aımnova
DashboardMy LearningCrash CoursesStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2027

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.d9e1c61

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesMath AITopic 4.10Spearman Rank Correlation
Back to Math AI Topics
4.10.110 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

Contents

  1. 1What Spearman rank correlation means
  2. 2How to calculate Spearman coefficient
  3. 3Tied ranks and interpretation
  4. 4Past-paper style responses
  5. 5Missing ranks, and when rₛ does not change
  6. 6Pearson or Spearman? Curves and outliers

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.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

How to calculate Spearman coefficient

In the exam: use the GDC: Rank both variables, put the two rank lists in L1 and L2 and run LinReg(ax + b): the r it shows is rₛ.

The formula below gives the same value only when there are NO tied ranks. Use it as a check, not as the method.
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 PlanYour first topic is free to keep • No credit 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. Rank them from 1 (highest).

Step by step

  1. 15 is the highest: rank 1
  2. 12 and 12 would fill places 2 and 3, so each gets (2 + 3) ÷ 2 = 2.5
  3. 10 is next: rank 4 (places 2 and 3 are used up)

Final answer

Ranks: 10 → 4, 12 → 2.5, 12 → 2.5, 15 → 1.

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. Screen ranks: 3.5, 6, 2, 5, 3.5, 7, 1.
  2. Sleep has two values of 7, which would take positions 3 and 4, so each gets 3.5. Sleep ranks: 3.5, 2, 6, 3.5, 5, 1, 7.
  3. (b) There are ties, so use the GDC: screen ranks in L1, sleep ranks in L2, LinReg(ax + b). The r it shows is rₛ.
  4. (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.973 (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

A full-marks Spearman answer

  • Both rank lists shown, ties averaged
  • rₛ from the GDC to 3 s.f., with its sign
  • One sentence in context: strength, direction and both variables
  • No claim that one variable causes the other
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'). H₀: there is no monotonic relationship. H₁: there is a monotonic relationship.
  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.)

Inside My Learning

Turn these notes into practice

Try each question, reveal a clear model answer, and learn how to build your response.

  • 1.H₁ follows the belief
  • 2.Writing the conclusion
Claim your free topic

Stop wasting time on topics you know

Our AI identifies your weak areas and focuses your study time where it matters. No more overstudying easy topics.

Try Smart Study FreeYour first topic is free to keep • No credit card required
Ranks are places in a queue: Order the values from the highest. Equal values share the average of the places they fill, and the next value takes the next FREE place.

rₛ only sees the places, so a value can change without changing rₛ.

See it drawn, step by step

In My Learning, handwritten diagrams build one step at a time. Play, pause and replay each explanation until it clicks. Create your free account to try it.

Claim your free topic

Inside My Learning

Turn these notes into practice

Try each question, reveal a clear model answer, and learn how to build your response.

  • 1.Missing ranks a, b and c
  • 2."Explain why rₛ does not change"
  • 3.Orders listed by position
Claim your free topic

Exam-style question — mock marks and revision [5 marks]

Eight students record their mark in a mock exam (out of 80) and their average daily revision time in hours.

StudentABCDEFGH
Mock mark6471588071497562
Revision (h)3.94.63.14.84.23.44.43.0

(a) Rank the mock marks, rank 1 = the highest. [1]

(b) Find Spearman's rank correlation coefficient, rₛ. [2]

(c) Use the table to state the strength of the correlation, and interpret it in context. [2]

|rₛ|Strength
0 to 0.29Weak
0.30 to 0.69Moderate
0.70 to 1Strong

Step by step

  1. (a) B and E both have 71 and fill places 3 and 4: 3.5 each.
  2. (b) Revision ranks 5, 2, 7, 1, 4, 6, 3, 8. Both rank lists into the GDC, LinReg(ax + b).
  3. (c) 0.862 is between 0.70 and 1: strong. It is positive.

Final answer

(a) 5, 3.5, 7, 1, 3.5, 8, 2, 6 (b) rₛ = 0.862 (c) Strong positive: students who revise more tend to get higher mock marks.

Line or order?: Pearson's r measures how close the points are to a STRAIGHT line. Spearman's rₛ measures whether one variable keeps going up (or down) as the other goes up: any monotonic pattern.

Animated graph

Watch the graph build step by step in study mode.

Claim your free topic

Inside My Learning

Turn these notes into practice

Try each question, reveal a clear model answer, and learn how to build your response.

  • 1.Which one to use?
  • 2.An outlier
  • 3."Suggest why not Pearson"
Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on Spearman Rank Correlation. Write your answer and get instant AI feedback — just like a real IB examiner.

what a Spearman rank correlation of exactly rs = −1 means. [1 mark]

Related Math AI Topics

Continue learning with these related topics from the same unit:

4.1.1Population and Samples4.1.2Data Classification4.1.3Sampling Techniques4.1.4Data Reliability and Outliers
View all Math AI topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Math AI
Previous4.9.2Normal ProbabilitiesNextContingency Tables and Chi-Squared4.11.1

64 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 FreeView All Math AI Topics