13.07.2015 Views

Strategic Practice and Homework 8 - Projects at Harvard

Strategic Practice and Homework 8 - Projects at Harvard

Strategic Practice and Homework 8 - Projects at Harvard

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

St<strong>at</strong> 110 <strong>Str<strong>at</strong>egic</strong> <strong>Practice</strong> 8 Solutions, Fall 2011Prof. Joe Blitzstein (Department of St<strong>at</strong>istics, <strong>Harvard</strong> University)1 Covariance <strong>and</strong> Correl<strong>at</strong>ion1. Two fair six-sided dice are rolled (one green <strong>and</strong> one orange), with outcomesX <strong>and</strong> Y respectively for the green <strong>and</strong> the orange.(a) Compute the covariance of X + Y <strong>and</strong> X Y .Cov(X + Y,X Y )=Cov(X, X) Cov(X, Y )+Cov(Y,X) Cov(Y,Y )=0.(b) Are X + Y <strong>and</strong> X Y independent? Show th<strong>at</strong> they are, or th<strong>at</strong> theyaren’t (whichever is true).They are not independent: inform<strong>at</strong>ion about X + Y may give inform<strong>at</strong>ionabout X Y , as shown by considering an extreme example. Note th<strong>at</strong> ifX + Y =12,thenX = Y =6,soX Y =0. Therefore,P (X Y =0|X + Y =12)=16= P (X Y =0),whichshowsth<strong>at</strong>X + Y <strong>and</strong> X Y arenot independent. Altern<strong>at</strong>ively, note th<strong>at</strong> X + Y <strong>and</strong> X Y are both even orboth odd, since the di↵erence X + Y (X Y )=2Y is even.2. AchickenlaysaPoisson()numberN of eggs. Each egg, independently,h<strong>at</strong>ches a chick with probability p. Let X be the number which h<strong>at</strong>ch, soX|N ⇠ Bin(N,p).Find the correl<strong>at</strong>ion between N (the number of eggs) <strong>and</strong> X (the number ofeggs which h<strong>at</strong>ch). Simplify; your final answer should work out to a simplefunction of p (the should cancel out).As shown in class, in this story X is independent of Y ,withX ⇠ Pois( p) <strong>and</strong>Y ⇠ Pois( q), for q =1 p. SoCov(N,X) =Cov(X + Y,X) =Cov(X, X)+Cov(Y,X) =Var(X) = p,givingCorr(N,X) =pSD(N)SD(X) =pp p= p p.1

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

Saved successfully!

Ooh no, something went wrong!