Thursday, October 27, 2016

More basic multivariate results

This shouldn't come as any surprise:

Cov(X,Y) = E(XY) - μXμY

Why not? Well, consider what happens when we let Y = X.

Cov(X,X) = E((X-μX)(X-μX)) = E((X-μX)2) = Var(X) = E(X2) - μX2

That's certainly not a proof but, given that covariance is basically an extension of variance to multivariate random variables, it is to be expected. Factoring out linear combinations also works the way you'd expect:

Var(aX+bY) = a2Var(X) + b2Var(Y) + 2abCov(X,Y)

Again, not a proof, but if you let Y=X, you get:

Var(aX+bX) = Var((a+b)X) = (a+b)2Var(X) = a2Var(X) + b2Var(X) + 2abVar(X)

Remembering what happens in the univariate case is an easy mnemonic.

No comments:

Post a Comment