To find the correlation coefficient, we can use the formula for Pearson's correlation coefficient, \( r \):
\[
r = \frac{n(\sum xy) - (\sum x)(\sum y)}{\sqrt{[n\sum x^2 - (\sum x)^2][n\sum y^2 - (\sum y)^2]}}
\]
where \( x \) and \( y \) are the two variables,
Show more…