covariance and correlation Flashcards
(4 cards)
1
Q
covariance
A
the strength of dependence;
Cov(X,Y) =sum((x - mean(x))*(y - mean(y))px,y(x,y)) = E(XY) - E(X)E(Y); IF X and Y are independent their coverage is zero
2
Q
Correlation
A
measure of dependance that is scale-independent;
Cor(X,Y) = Cov(X,Y) / sqrt(Var(X)*Var(Y))’
cor(x,y) = 1 - means perfect positive correlation
cor(x,y) = 0 - no correlation
cor(x,y) = -1 perfect negative correlation
3
Q
the variance of x + y
A
Var(aX +/- bY) = a^2Var(X) + b^2Var(Y) +/- 2abCov(X,Y)
4
Q
Properties of covariance and correlation
A
Cov(x,x) = Var(x)
Cov(ax + b, cy + d) = acCov(X,Y)