Calculate the correlation coefficient between X and Y and comment on their relationship.
X 1 3 4 5 7 8
Y 2 6 8 10 14 16
Calculation of Correlation:
X |
R1 |
y |
R2 |
D(R1–R2) |
D2 |
1 |
6 |
2 |
6 |
0 |
0 |
3 |
5 |
6 |
5 |
0 |
0 |
4 |
4 |
8 |
4 |
0 |
0 |
5 |
3 |
10 |
3 |
0 |
0 |
7 |
2 |
14 |
2 |
0 |
0 |
8 |
1 |
16 |
1 |
0 |
0 |
ΣD2= 0 |