Problem
Solution
Part a
For this case the correlation coeffcient using R with the following code:
And for this case the correlation coefficient calculated is:
r = -0.4816
Part b
For this case since the correlation coefficient is negative we can conclude that the relationship between x and y is inverse and that means when x increase y decrease.
And is a moderate inverse correlation since is near to -0.5