Calculate correlation coefficients between two variables
The correlation coefficient (r) ranges from -1 to 1 and indicates the strength and direction of the relationship: