Question
Question: Let \(x_{1},x_{2},x_{3},.....,x_{n}\) be the rank of n individuals according to character A and \(y_...
Let x1,x2,x3,.....,xn be the rank of n individuals according to character A and y1,y2,......,yn the ranks of same individuals according to other character B such that xi+yi=n+1 for i=1,2,3,.....,n. Then the coefficient of rank correlation between the characters A and B is
A
1
B
0
C
– 1
D
None
Answer
– 1
Explanation
Solution
xi+yi=n+1 for all i=1,2,3,.....,n
Let xi−yi=di. Then, 2xi=n+1+di ⇒ di=2xi−(n+1)
∴ ∑i=1ndi2=∑i=1n[2xi−(n+1)]2 = ∑i=1n[4xi2+(n+1)2−4xi(n+1)]
∑i=1ndi2=4∑i=1nxi2+(n)(n+1)2−4(n+1)∑i=1nxi
= 46n(n+1)(2n+1)+(n)(n+1)2−4(n+1)2n(n+1) ∑i=1ndi2=3n(n2−1)
∴ r=1−n(n2−1)6∑di2=1−3(n)(n2−1)6(n)(n2−1) i.e., r=−1.