Find out rank difference correlation of X and Y.
X80787558676059Y12131414161517
Calculation of Rank Correlation
XR1YR2R1−R2=DD2801128−749782137−525753.5145−1.52.25583.5145−1.52.25678162+39605153+39596171+397636∑D2=141.50
Here, N=8, ∑D2=141.50,m1=2 and m2=3
rk=1−6[∑D2+112(m31−m1)+112(m32−m2)]N3−N
=1−6[141.50+112(23−2)+112(33−3)]83−8=1−6[141.50+612+2412]512−8
=1−6(141.50+0.50+2)504
=1−6×144504=1−864504=1−1.712=−0.712
It indicates that there is moderate degree of negative correlation.