Calculate the coefficient of correlation of the following data by Spearman's rank correlation method:
X192412231916Y92220142218
X YR1R2(R1−R2)D2D1993.51+2.56.25242265.5+0.50.25122014−39231452+3919223.55.5−24161823−11N=16∑D2=29.50
Here number 19 is repeated twice in series X and number 22 is repeated twice in series Y. Therefore, in X, m = 2 and in Y, m = 2.
Rank Coefficient of Correlation (rk)=
1−6[∑D2+112(m31−m1)+112(m32−m2)+.....]N3−N
∑D2=29.50;
=1−6[29.50+112(23−2)+112(23−2)]63−6
=1−6[29.50+0.5+0.5]201
=1−6×30.5210
=1−183210=1−0.871
= 0.129
Rank Coefficient of Correlation = 0.129. There is a very low degree of positive correlation.