Calculate the correlation coefficient between X and Y and comment on their relationship:
X |
–3 |
–2 |
–1 |
1 |
2 |
3 |
Y |
9 |
4 |
1 |
1 |
4 |
9 |
X |
Y |
XY |
X2 |
Y2 |
–3 |
9 |
–27 |
9 |
81 |
–2 |
4 |
–8 |
4 |
16 |
–1 |
1 |
–1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
2 |
4 |
8 |
4 |
16 |
3 |
9 |
27 |
9 |
81 |
|
|
|
|
|
As the value of r is zero, so there is no linear correlation between X and Y