Where: - r is the correlation coefficient - X and Y are the variables - X̄ and Ȳ are the means of X and Y, respectively - Σ represents the sum of the values - √ represents the square root of the values
- r is the correlation coefficient - n is the number of observations - x is the value of the first variable - x̄ is the mean of the first variable - y is the value of the second variable - ȳ is the mean of the second variable