(New page: n coin flips, X = # of heads, Y = # of tails Cov(X,Y) = ? X + Y = n E[X]+E[y] = n Therefore: X-E[X] + y-E[Y] = 0 X-E[X]= -(y-E[Y]) <math>Cov(X,Y)=-E[[X-E[X]]^2]=-Var(X)=-Var(Y)</m...) |
(No difference)
|
Revision as of 04:18, 17 October 2008
n coin flips, X = # of heads, Y = # of tails
Cov(X,Y) = ?
X + Y = n
E[X]+E[y] = n
Therefore:
X-E[X] + y-E[Y] = 0
X-E[X]= -(y-E[Y])
$ Cov(X,Y)=-E[[X-E[X_ECE302Fall2008sanghavi]]^2]=-Var(X)=-Var(Y) $
and also the correlation coefficient is $ \rho(X,Y)=-1 $