Question
Question: Karl Pearson's coefficient of correlation between x and y for the following data is | | | ...
Karl Pearson's coefficient of correlation between x and y for the following data is
x : | 3 | 4 | 8 | 9 | 6 | 2 | 1 |
y : | 5 | 3 | 7 | 7 | 6 | 9 | 2 |
A
0.480
B
– 0.480
C
0.408
D
– 0.408
Answer
0.408
Explanation
Solution
x | Y | xy | x2 | y2 |
3 | 5 | 15 | 09 | 25 |
4 | 3 | 12 | 16 | 09 |
8 | 7 | 56 | 64 | 49 |
9 | 7 | 63 | 81 | 49 |
6 | 6 | 36 | 36 | 36 |
2 | 9 | 18 | 04 | 81 |
1 | 2 | 02 | 01 | 04 |
Σx = 33 | Σy2=253 |
Now, r={Σx2−n(Σx)2}{Σy2−n(Σy)2}Σxy−nΣx⋅Σy
⇒ r=0.408.