Documente Academic
Documente Profesional
Documente Cultură
Cov(X, Y ) = E(XY ) X Y
= E(X)E(Y ) X Y = 0
2
Heres a proof of the first equation in the first But Var(X) = X
and Var(Y ) = Var(Y ) = Y2 ,
condition:
so that equals
Cov(aX, Y ) = E((aX E(aX))(Y E(Y )))
X Y
,
2 + 2 Cov
X Y
= E(a(X E(X))(Y E(Y )))
2
Cov(X, Y ) = 2 2XY )
x Y
0 Var
vectors in that space.
X
Y
X Y = Cov(X, Y )
There are actually two equations there, and we can
prove them at the same time.
2
First note the 0 parts follow from the fact The norm kXk of X is the square root of kXk
variance is nonnegative. Next use the property defined by
proved above about the variance of a sum.
2
kXk2 = X X = Cov(X, X) = V (X) = X
X
Y
Var
and, so, the angle between X and Y is defined by
X Y
X
Y
X Y
Cov(X, Y )
X Y
= Var
+ Var
+ 2 Cov
,
= XY
cos =
=
X
Y
X Y
kXk kY k
X Y
Now use the fact that Var(cX) = c2 Var(X) to that is, is the arccosine of the correlation .
XY
rewrite that as
Math 217 Home Page at
1
X
1
Y
Var(X) + 2 Var(Y ) + 2 Cov
,
http://math.clarku.edu/~djoyce/ma217/
2
X
Y
X
Y
2