Spearman Rank Correlation Coefficient is a non-parametric measure of correlation, using ranks to calculate the correlation.
This article is a part of the guide:
Browse Full Outline
- 1Statistical Hypothesis Testing
- 2Relationships
- 3Correlation
- 4Regression
- 5Studentâ€™s T-Test
- 6ANOVA
- 7Nonparametric Statistics
- 8Other Ways to Analyse Data
Whenever we are interested to know if two variables are related to each other, we use a statistical technique known as correlation. If the change in one variable brings about a change in the other variable, they are said to be correlated.
A well known measure of correlation is the Pearson product moment correlation coefficient which can be calculated if the data is in interval/ ratio scale.
The Spearman Rank Correlation Coefficient is its analogue when the data is in terms of ranks. One can therefore also call it correlation coefficient between the ranks. The correlation coefficient is sometimes denoted by rs.
Example
As an example, let us consider a musical (solo vocal) talent contest where 10 competitors are evaluated by two judges, A and B. Usually judges award numerical scores for each contestant after his/her performance.
A product moment correlation coefficient of scores by the two judges hardly makes sense here as we are not interested in examining the existence or otherwise of a linear relationship between the scores.
What makes more sense is correlation between ranks of contestants as judged by the two judges. Spearman Rank Correlation Coefficient can indicate if judges agree to each other's views as far as talent of the contestants are concerned (though they might award different numerical scores) - in other words if the judges are unanimous.
Interpretation of Numerical Values
The numerical value of the correlation coefficient, rs, ranges between -1 and +1. The correlation coefficient is the number indicating the how the scores are relating.
r_{s }= correlation coefficient
In general,
- r_{s} > 0 implies positive agreement among ranks
- r_{s} < 0 implies negative agreement (or agreement in the reverse direction)
- r_{s} = 0 implies no agreement
Closer r_{s} is to 1, better is the agreement while rs closer to -1 indicates strong agreement in the reverse direction.
Assigning Ranks
In order to compute Spearman Rank Correlation Coefficient, it is necessary that the data be ranked. There are a few issues here.
Suppose that scores of the judges (out of 10 were as follows):
Contestant No. | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
Score by Judge A | 5 | 9 | 3 | 8 | 6 | 7 | 4 | 8 | 4 | 6 |
Score by Judge B | 7 | 8 | 6 | 7 | 8 | 5 | 10 | 6 | 5 | 8 |
Ranks are assigned separately for the two judges either starting from the highest or from the lowest score. Here, the highest score given by Judge A is 9.
If we begin from the highest score, we assign rank 1 to contestant 2 corresponding to the score of 9.
The second highest score is 8 but two competitors have been awarded the score of 8. In this case both the competitors are assigned a common rank which is the arithmetic mean of ranks 2 and 3. In this way, scores of Judge A can be converted into ranks.
Similarly, ranks are assigned to the scores awarded by Judge B and then difference between ranks for each contestant are used to evaluate rs. For the above example, ranks are as follows.
Contestant No. | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
---|---|---|---|---|---|---|---|---|---|---|
Ranks of scores by Judge A | 7 | 1 | 10 | 2.5 | 5.5 | 4 | 8.5 | 2.5 | 8.5 | 5.5 |
Ranks of scores by Judge B | 5.5 | 3 | 7.5 | 5.5 | 3 | 9.5 | 1 | 7.5 | 9.5 | 3 |
Spearman Rank Correlation Coefficient tries to assess the relationship between ranks without making any assumptions about the nature of their relationship.
Hence it is a non-parametric measure - a feature which has contributed to its popularity and wide spread use.
Advantages and Caveats
Other measures of correlation are parametric in the sense of being based on possible relationship of a parameterized form, such as a linear relationship.
Another advantage with this measure is that it is much easier to use since it does not matter which way we rank the data, ascending or descending. We may assign rank 1 to the smallest value or the largest value, provided we do the same thing for both sets of data.
The only requirement is that data should be ranked or at least converted into ranks.
Explorable.com (Mar 20, 2009). Spearman Rank Correlation Coefficient. Retrieved Jan 20, 2021 from Explorable.com: https://explorable.com/spearman-rank-correlation-coefficient
You Are Allowed To Copy The Text
The text in this article is licensed under the Creative Commons-License Attribution 4.0 International (CC BY 4.0).
This means you're free to copy, share and adapt any parts (or all) of the text in the article, as long as you give appropriate credit and provide a link/reference to this page.
That is it. You don't need our permission to copy the article; just include a link/reference back to this page. You can use it freely (with some kind of link), and we're also okay with people reprinting in publications like books, blogs, newsletters, course-material, papers, wikipedia and presentations (with clear attribution).
Want to stay up to date? Follow us!
Footer bottom