Spearman's Rank Correlation

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 Rs 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 d2.
6. Use the formula Rs = 1-(6Sigma d2/n3-n) where n is the number of ranks you have.
7. If the Rs 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.
8. If the Rs 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.

#. Null Hypothesis: There is no relationship between the two sets of data.
# Rs = 1-(6 Sigma d2 / n3-n).

* Sigma d2 = 22 therefore 6 Sigma d2= 132
* n = 5 therefore n3-n = 120

# Rs = 1-(132/120)
# Rs = 1- 0.91
# Rs = 0.09
# There is a weak positive correlation between the two sets of data. The null hypothesis is rejected.

No comments: