In order to find the correlation coefficient r, we can use the formula:
![r=\frac{7\sum ^{}_{}(xy)-\sum ^{}_{}x\sum ^{}_{}y}{\sqrt[]{\lbrack7\sum ^{}_{}x^2-(\sum ^{}_{}x)^2\rbrack\cdot\lbrack7\sum ^{}_{}y^2-(\sum ^{}_{}y)^2\rbrack}}](https://img.qammunity.org/2023/formulas/mathematics/college/9wfoitgsir2z3dd755jrkv75bg4tfxceer.png)
where the sum must be taken upon all 7 values of x and y.
So, let's find each term and then use them in the formula:




Now, we need to use them in the formula to find r:
![r=\frac{10311-9486}{\sqrt[]{155.5\cdot4644}}=\frac{825}{\sqrt[]{722142}}\cong0.9708](https://img.qammunity.org/2023/formulas/mathematics/college/5lhzzf2mukvhwi5moppuu4h2nvegst0cv1.png)
Finally, round the answer to the 3 decimal places, we find
r = 0.971