Page 3 - Home assignment-correlation analysis.
P. 3
Where … … .. represents the number of times a particular
3,
2,
1,
rank is repeated.
Example: - From the following data obtain the Spearman’s rank coefficient of
correlation.
X 65 72 65 70 65 75 78 80 70
Y 12 15 12 12 12 18 20 25 23
Solution: - Calculation of Spearman’s rank coefficient of correlation.
2
X Y = −
65 12 7 + 8 + 9 6 + 7 + 8 + 9 0.5 0.25
= 8 = 7.5
3 4
72 15 4 5 -1 1
65 12 7 + 8 + 9 6 + 7 + 8 + 9 0.5 0.25
= 8 = 7.5
3 4
70 12 5 + 6 6 + 7 + 8 + 9 -2 4
= 5.5 = 7.5
2 4
65 12 7 + 8 + 9 6 + 7 + 8 + 9 0.5 0.25
= 8 = 7.5
3 4
75 18 3 4 -1 1
78 20 2 3 -1 1
80 25 1 1 0 0
70 23 5 + 6 2 3.5 12.25
= 5.5
2
2
= 20
3
3
3
− 1 − 2 − 3
2
3
1
2
6 × ( + + + + ⋯ … … … … . ).
= 1 − 12 12 12
3
−