find the rank correlation from the following data.
X 2 1 4 3 4 6
Y 6 3 2 1 5 3
Answers
Step-by-step explanation:
X. Y. rankof x. rank of y. d(x-y). d*d(square)
2. 6. 4 1. 3. 9
1. 3. 5. 3. 2. 4
4. 2. 2. 4. -2. 4
3. 1. 3. 5. -2. 4
4. 5. 2 2. 0. 0
6. 3. 1. 3. -2. 4
____
25
correlation= 1- 6*sum of dsquare
_______________
n(n*n-1)
6*25
=1- _______
6(36-1)
=1-150/210
=1-0.714
=0.286