Calculates the correlation coefficient as the covariance ÷ (standard deviation of x × standard deviation of y). It lies between −1 and 1: near 1 means a strong positive relationship, near −1 a strong negative one.