The covariance of two random variables \(X\) and \(Y\) is defined as:
\[
\text{Cov}(X, Y) = E[(X - E[X])(Y - E[Y])]
\]
The correlation coefficient, denoted as \(\rho(X, Y)\), is defined as:
\[
\rho(X, Y) = \frac{\text{Cov}(X, Y)}{\sqrt{\text{Var}(X)
Show more…