X Y
18 40
14 30
20 20
22 20
19 10
27 0
Calculate the values of the sample covariance and sample correlation between X and Y. Using this information, how would you characterize the relationship between X and Y?
(12 points)
(10 points)
_
_
_
Following table shows the calculations:
X | Y | (x-xmean)^2 | (y-ymean)^2 | (x-xmean)*(y-ymean) | |
18 | 40 | 4 | 400 | -40 | |
14 | 30 | 36 | 100 | -60 | |
20 | 20 | 0 | 0 | 0 | |
22 | 20 | 4 | 0 | 0 | |
19 | 10 | 1 | 100 | 10 | |
27 | 0 | 49 | 400 | -140 | |
Total | 120 | 120 | 94 | 1000 | -230 |
Mean:
The co-variance of the data:
The variance is:
The correlation coefficient is
It shows a strong, linear and negative relationship between the variables.
Get Answers For Free
Most questions answered within 1 hours.