Correlation - Equations
The correlation coefficient is calculated as:
A value of r = 0.0 indicates no linear relationship between the two variables, whereas a value of r = 1.0 or r = -1.0 suggests a strong linear relationship between the two variables.