Question: how to calculate correlation between two random variables?
Answer: 2 The correlation of X and Y is the number defined by ρXY = Cov(X, Y ) σXσY . The value ρXY is also called the correlation coefficient. Theorem 4.5. 3 For any random variables X and Y , Cov(X, Y ) = EXY − µXµY .