Spearman's rank correlation coefficient 10 / 10

Spearman's rank correlation coefficient

If you are given ranking rather than actual values.

Use Spearman's rank correlation coefficient to evaluate correlation.

Spearman's rank correlation

n = number of pairs of data

d = the difference between the rankings

The coefficient of rank correlation can be interpreted in exactly the same way as the ordinary correlation coefficient.

Its value can range from —1 to +1 .

Illustration

The following data relates to 5 students:

StudentsRanking by how many hours studiedRanking by exam result
A21
B13
C47
D65
E56

Required

Judge whether the performance of students correlates with their performance.

Solution

Correlation must be measured by Spearman's coefficient because we are given the data as rankings.

Difference in rankings Difference2
A11
B24
C39
D11
E11
Total-----
8
-----
-----
16
-----
Spearman's rank correlation

where d is the difference between the rank in hours studied and exam performance for each Student.

R = 1 - {(6 x 16) / [5 x (25 - 1)]}
R = 1 - (96 / 120)
R = 1 - 0.8
R = 0.2

The correlation is positive, 0.2, but the correlation is not strong.

We use cookies to help make our website better. We'll assume you're OK with this if you continue. You can change your Cookie Settings any time.

Cookie SettingsAccept