Find the spearman's rank coefficient of correlation from the following data:
X | 48 | 33 | 40 | 9 | 16 | 16 | 65 | 25 | 16 | 57 |
Y | 13 | 13 | 24 | 6 | 15 | 4 | 20 | 9 | 6 | 19 |
X |
Rank |
Y |
Rank |
|d| |
d2 |
48 33 40 9 16 16 65 25 16 57 |
3 5 4 10 7 7 1 6 7 2 |
13 13 24 6 15 4 20 9 6 19 |
5 5 1 8 4 10 2 7 8 3 |
2 0 3 2 3 3 1 1 1 1 |
4 0 9 4 9 9 1 1 1 1 |
n=10,∑d2=39
r=1−6∑d2n(n2−1)=1−6×3910(102−1)=1−234990=0.76