12.07.2015 Views

Strategic Practice and Homework 10 - Projects at Harvard

Strategic Practice and Homework 10 - Projects at Harvard

Strategic Practice and Homework 10 - Projects at Harvard

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

St<strong>at</strong> 1<strong>10</strong> <strong>Str<strong>at</strong>egic</strong> <strong>Practice</strong> <strong>10</strong> Solutions, Fall 2011Prof. Joe Blitzstein (Department of St<strong>at</strong>istics, <strong>Harvard</strong> University)1 Conditional Expect<strong>at</strong>ion & Conditional Variance1. Show th<strong>at</strong> E((Y E(Y |X)) 2 |X) =E(Y 2 |X) (E(Y |X)) 2 , so these two expressionsfor Var(Y |X) agree.This is the conditional version of the fact th<strong>at</strong>Var(Y )=E((Y E(Y )) 2 )=E(Y 2 ) (E(Y )) 2 ,<strong>and</strong> so must be true since conditional expect<strong>at</strong>ions are expect<strong>at</strong>ions, just as conditionalprobabilities are probabilities. Algebraically, letting g(X) =E(Y |X)we haveE((Y E(Y |X)) 2 |X) =E(Y 2 2Yg(X)+g(X) 2 |X) =E(Y 2 |X) 2E(Yg(X)|X)+E(g(X) 2 |X),<strong>and</strong> E(Yg(X)|X) =g(X)E(Y |X) =g(X) 2 ,E(g(X) 2 |X) =g(X) 2 by takingout wh<strong>at</strong>’s known, so the righth<strong>and</strong> side above simplifies to E(Y 2 |X) g(X) 2 .2. Prove Eve’s Law.We will show th<strong>at</strong> Var(Y )=E(Var(Y |X))+Var(E(Y |X)). Let g(X) =E(Y |X).By Adam’s Law, E(g(X)) = E(Y ). ThenE(Var(Y |X)) = E(E(Y 2 |X) g(X) 2 )=E(Y 2 ) E(g(X) 2 ),Var(E(Y |X)) = E(g(X) 2 ) (E(g(X)) 2 = E(g(X) 2 ) (E(Y )) 2 .Adding these equ<strong>at</strong>ions, we have Eve’s Law.3. Let X <strong>and</strong> Y be r<strong>and</strong>om variables with finite variances, <strong>and</strong> let W = YE(Y |X). This is a residual: thedi↵erencebetweenthetruevalueofY <strong>and</strong> thepredicted value of Y based on X.(a) Compute E(W )<strong>and</strong>E(W |X).Adam’s law (iter<strong>at</strong>ed expect<strong>at</strong>ion), taking out wh<strong>at</strong>’s known, <strong>and</strong> linearity giveE(W ) = EY E(E(Y |X)) = EY EY =0,E(W |X) = E(Y |X) E(E(Y |X)|X) =E(Y |X) E(Y |X) =0.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!