GCSE Statistics · Topic guide

Spearman's Rank Correlation

Spearman's rank correlation coefficient measures the strength and direction of a relationship between two ranked variables, giving a value between -1 (perfect negative) and +1 (perfect positive). In GCSE Statistics it is calculated using rs = 1 - (6 x sum of d^2) / (n(n^2 - 1)), where d is the difference between each pair of ranks and n is the number of pairs.

Higher tierCorrelation and Time SeriesEdexcel

Before you start

Make sure you're comfortable with these topics first:

Method

  1. Rank each set of data separately, giving equal (averaged) ranks to any tied values.
  2. Find the difference, d, between the two ranks for each pair of data.
  3. Square each difference to get d^2, then find the sum of all the d^2 values.
  4. Substitute the sum of d^2 and the number of pairs, n, into the formula rs = 1 - (6 x sum of d^2) / (n(n^2 - 1)).
  5. Calculate rs, giving the answer as a decimal, usually to 2 or 3 decimal places, between -1 and 1.
  6. Interpret the value: close to +1 means strong positive correlation between the rankings, close to -1 means strong negative correlation, and close to 0 means little or no correlation.

Worked example

Five students' scores in a maths test and a science test are ranked below. Maths rank: 1, 2, 3, 4, 5. Science rank: 2, 1, 3, 5, 4. Calculate Spearman's rank correlation coefficient.

  1. Find d for each pair: 1-2=-1, 2-1=1, 3-3=0, 4-5=-1, 5-4=1.
  2. Square each difference: 1, 1, 0, 1, 1.
  3. Sum the squared differences: sum d^2 = 1+1+0+1+1 = 4.
  4. Substitute into the formula with n = 5: rs = 1 - (6 x 4) / (5(25-1)) = 1 - 24/120.
  5. Simplify: rs = 1 - 0.2 = 0.8.
  6. Final answer: rs = 0.8, showing a strong positive correlation between the two sets of ranks.

Practice questions

Try each question, then tap to reveal the answer.

Exam-style questions

Written in the style of a GCSE Statistics exam paper, with a full mark scheme.

Q1[3 marks]

Two examiners rank 5 essays. Their rankings differ by d = 0, 1, -1, 2, -2 for the five essays. Calculate Spearman's rank correlation coefficient.

Q2[4 marks]

The table shows the ranks given by two panels to 6 films. Panel 1 ranks: 1, 2, 3, 4, 5, 6. Panel 2 ranks: 2, 1, 4, 3, 6, 5. (a) Find the value of sum of d^2. (b) Calculate Spearman's rank correlation coefficient, giving your answer to 2 decimal places.

Q3[5 marks]

Eight athletes are ranked by two different coaches based on performance. The sum of the squared rank differences is sum d^2 = 20. (a) Calculate Spearman's rank correlation coefficient, giving your answer to 2 decimal places. (b) Interpret your value in the context of the two coaches' rankings.

Free printable worksheet

Want more practice on paper? Download the spearman's rank correlation worksheet pack - 19 pages of exam-style questions with a full mark scheme. No sign-up, no email wall - just the PDF, free for personal and classroom use.

Next topics

Ready to practise spearman's rank correlation? Add it to a printable topic pack for this student in Book Builder.

Add to my pack

Build a full practice pack.

This topic is one of hundreds in the library - pick the ones a student needs and generate a printable PDF in minutes.