Revision:Spearman's Rank Correlation - The Student Room
The Student Room

Revision:Spearman's Rank Correlation

TSR Wiki > Study Help > Subjects and Revision > Revision Notes > Geography > Spearman's Rank Correlation


Spearman's Rank Correlation is a technique used to test the direction and strength of the relationship between two variables. In other words, its a device to show whether any one set of numbers has an effect on another set of numbers.

It uses the statistic R_s which falls between -1 and +1.


Procedure for using Spearman's Rank Correlation

  1. State the null hypothesis i.e. "There is no relationship between the two sets of data."
  2. Rank both sets of data from the highest to the lowest. Make sure to check for tied ranks.
  3. Subtract the two sets of ranks to get the difference d.
  4. Square the values of d.
  5. Add the squared values of d to get \sigma d^2
  6. Use the formula R_s = 1 - (6\sigma d^2/n^3-n) where n is the number of ranks you have.
  7. If the R_s value...
... is -1, there is a perfect negative correlation.
...falls between -1 and -0.5, there is a strong negative correlation.
...falls between -0.5 and 0, there is a weak negative correlation.
... is 0, there is no correlation
...falls between 0 and 0.5, there is a weak positive correlation.
...falls between 0.5 and 1, there is a strong positive correlation
...is 1, there is a perfect positive correlation
between the 2 sets of data.
  1. If the R_s value is 0, state that null hypothesis is accepted. Otherwise, say it is rejected.


Practical Example of Spearman's Rank Correlation

Question: Use the Spearman's Rank Correlation to establish whether there is any relationship between the distance away from school students live and the IB Geography grades they attain.

  • Red type indicates what you have been given. Black type indicates the working done.
  1. Null Hypothesis: There is no relationship between the two sets of data.
Distance From School (in miles) r IB Geography Grades Attained r d d^2
3 2 4 4 2 4
7 1 4 4 3 9
2 3 7 1 2 4
2 3 6 2 1 1
1 5 5 3 2 4
 \sigma d^2 = 22
  1. R_s = 1-(6 \sigma d^2 / n^3-n)
\sigma d^2 = 22 therefore 6\sigma d^2 = 132
n = 5 therefore n^3 - n = 120
  1. R_s = 1 - (132/120)
  2. R_s = 1 - 0.91
  3. R_s = 0.09
  4. There is a weak positive correlation between the two sets of data. The null hypothesis is rejected.


Comments

This is a very poor example. There are three mistakes. 1) Firstly, the sign for standard deviation (σ) is used, it should be the sum of sign: Σ. 2) Some figures in column d should be negative (the reason for squaring d is to remove the negatives). 3) The final figures do not add up.

Not exactly great for a revision guide.

Discussions Toggle
I have become nocturnal
started by: Jim_Reid
forum: Health
replies: 19
last post: 1 Minute Ago
Vegetarianism/veganism and ' animals eating animals...'
started by: grey_chair
forum: Philosophy
replies: 109
last post: 2 Minutes Ago
Football Manager Society II
started by: Dalimyr
forum: Gaming
replies: 5166
last post: 3 Minutes Ago
Most annoying thing people do at University?
started by: The Phelps
forum: Student Life
replies: 246
last post: 5 Minutes Ago
Who are your idols from history?
started by: Gurmeet.Kapoor
forum: History
replies: 58
last post: 5 Minutes Ago
How to ask someone to live with you
started by: laparisienne
forum: Student Accommodation
replies: 12
last post: 9 Minutes Ago
Living in lots of different countries to learn languages
started by: language_man
forum: Travel
replies: 50
last post: 9 Minutes Ago
Edinburgh Accommodation 2012/2013
started by: gpostleth
forum: University of Edinburgh
replies: 5
last post: 10 Minutes Ago
The "I have an offer from Edinburgh" thread
started by: oxymoronic
forum: University of Edinburgh
replies: 83
last post: 11 Minutes Ago
Top 5 regrets of the dying
started by: Raving_Hippy
forum: Advice on Everyday Issues
replies: 0
last post: 14 Minutes Ago
Housemate is denying he told me he cheated
started by: Anonymous
forum: Friends, Family and Work
replies: 37
last post: 15 Minutes Ago
Are atheists good people?
started by: Lizzeraptor
forum: Religion
replies: 36
last post: 17 Minutes Ago
Increasing Tension Between the UK and Argentina over the Falkland Islands
started by: Craig_D
forum: News and Current Affairs
replies: 686
last post: 25 Minutes Ago
Vampire Diaries - Back tonight!
started by: Phelps
forum: TV
replies: 1111
last post: 25 Minutes Ago
Is this a good way to send a message to your kids?
started by: Agenda Suicide
forum: Society
replies: 38
last post: 28 Minutes Ago
Too nervous to try counselling again because I can't open up properly
started by: Anonymous
forum: Mental Health
replies: 8
last post: 29 Minutes Ago
*Updated Mk1* Project Opel Speedster, a fast car to beat an expensive junk.
started by: Herr
forum: Motoring
replies: 41
last post: 30 Minutes Ago
Good experiences with Citalopram?
started by: AJ2890
forum: Mental Health
replies: 15
last post: 30 Minutes Ago
High on coffee/caffeine all the time, could it affect my health?
started by: Raving_Hippy
forum: Food and Drink
replies: 7
last post: 31 Minutes Ago
Malia 2012!!
started by: CharlotteM
forum: Travel
replies: 11
last post: 31 Minutes Ago
Article Updates Toggle
Contact Us | Site Rules | Staying Safe on TSR | Advertising | Staff Blog | Essays & Coursework | Terms & Conditions | Top
Customise your TSR | Life Advice | Hobbies and Interests | Debate and Current Affairs | Study Help | University and University courses
Universities and HE Colleges | Careers, Employment and Gap Years | General Discussion

Customise your TSR