The correlation is given by the formula:
$$\rho_{X Y}=\frac{\sigma_{X Y}}{\sigma_{X} \sigma_{Y}}$$
where $\sigma_{X Y}$ is the covariance of X and Y, and $\sigma_{X}$ and $\sigma_{Y}$ are the standard deviations of X and Y respectively.
In this case, the
Show more…