Advertisements
Advertisements
Question
Compute rank correlation coefficient for the following data :
| Rx | 1 | 2 | 3 | 4 | 5 | 6 |
| Ry | 6 | 3 | 2 | 1 | 4 | 5 |
Sum
Advertisements
Solution
| Rx | Ry | di = Rx - Ry |
`"d"_"i"^2` |
| 1 | 6 | -5 | 25 |
| 2 | 3 | -1 | 1 |
| 3 | 2 | 1 | 1 |
| 4 | 1 | 3 | 9 |
| 5 | 4 | 1 | 1 |
| 6 | 5 | 1 | 1 |
| `Σ"d"_"i"^2 = 38` | |||
R = `1 - (6 Σ"d"_"i"^2)/(n(n^2 - 1))`
R = `1 - (6 xx 38)/(6(36 - 1)) = 1 - 38/35`
R = `(-3)/35`
⇒ R = -0.0857
shaalaa.com
Is there an error in this question or solution?
