Spearman's rank correlation is a statistical measure that assesses the strength and
the direction of the monotonic relationship between two variables. Unlike Pearson's
correlation, which examines linear relationships, Spearman's correlation focuses on
the ranks or ordinal positions of t...
Spearman's Rank Correlation Coefficient
Spearman's rank correlation coefficient is a method used to measure the
strength and direction of the relationship between two variables. It is more
suitable in cases where the data is not normally distributed, unlike Pearson's
coefficient of correlation. In this blog, we will focus on Spearman's rank
correlation and how to calculate it.
Ranking Strategy
To calculate Spearman's rank correlation, first, we need to rank the data. We
can assign ranks to data by giving the highest number the lowest rank or the
lowest number the highest rank. The highest number should always be given
the lowest rank. For example, if we have a series of numbers such as 20, 24,
33, 40, and 15 appearing three times, we will assign rank 1 to 65 (the
highest), rank 2 to 20 (the second-highest), rank 3 to 18 (the third-highest),
rank 4 to both 40 and 33 (the fourth-highest), rank 5 to 24 (the fifth-highest),
rank 6 to 15 (the lowest).
Calculation
The formula to calculate Spearman's rank correlation coefficient is:
1 - (6?d2)/n(n2-1)
where ?d2 is the sum of the squared differences between the ranks of each
variable, n is the total number of observations, and m is the number of times
a particular value has tied up or stand off.
Example
Let's consider an example where we have two judges who have scored 5
participants on a scale of 1 to 10. The data is as follows:
7, 6, 8, 9, 6
8, 7, 6, 9, 10
To calculate the ranks, we combine the data and assign ranks as discussed
earlier:
10 (rank 1), 9 (rank 2), 8 (rank 3), 7 (rank 4), 7 (rank 4), 6 (rank 6), 6 (rank 6)
Now, we can calculate the Spearman's rank correlation coefficient:
sum of d = (1-2) + (2-1) + (3-5) + (4-4) + (4-4) + (6-6) + (6-6) = 10
n = 7, m = 2
Spearman's rank correlation coefficient = 1 - (6(10))/(7(7-1)) = 0.6 (rounded
off to one decimal place)
Therefore, there is a moderate positive correlation between the judges'
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller jayrupareliya. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $15.49. You're not tied to anything after your purchase.