M4. Covariance, Correlation and Independence Flashcards
Define covarience
Cov (X, Y) = E[ (X - E{X}) (Y - E{Y}) ]
Cov (X, Y) = E[XY] - E[X]E[Y]
Covariance when x=y
It is just variance.
Covariance rules about above/below respective means
If both are the same (both above/below): covariance tends to be positive.
If opposite (one above, other below): covariance tends to be negative.
Properties of covariance
Points 4 and 5 link to bilinearity
The sum of two variances
Covariance (and correlation) if x and y are independent
X and Y are independent → E[xy] = E[x]E[y] → Cov(x,y) = E[xy] - E[x]E[y] = 0
Independence implies 0 covariance, 0 covariance implies 0 correlation, but not the inverse.
Define correlation
Correlation is just covariance between standardised variables.
What is mean independence?
4 things to remember about covariance, correlation and independence