Strategic Practice and Homework 8 - Projects at Harvard
Strategic Practice and Homework 8 - Projects at Harvard
Strategic Practice and Homework 8 - Projects at Harvard
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> 110 <strong>Homework</strong> 8, Fall 2011Prof. Joe Blitzstein (Department of St<strong>at</strong>istics, <strong>Harvard</strong> University)1. Let X be the number of distinct birthdays in a group of 110 people (i.e., thenumber of days in a year such th<strong>at</strong> <strong>at</strong> least one person in the group has th<strong>at</strong> birthday).Under the usual assumptions (no Feb 29, all the other 365 days of the year are equallylikely, <strong>and</strong> the day when one person is born is independent of the days when the otherpeople are born), find the mean <strong>and</strong> variance of X.Let I j be the indic<strong>at</strong>or r.v. for the event th<strong>at</strong> <strong>at</strong> least one of the people was born on thejth day of the year, so X = P 365j=1 I j with I j ⇠ Bern(p), where p =1 (364/365) 110 .The I j ’s are dependent but by linearity, we still haveE(X) =365p ⇡ 95.083.By symmetry, the variance is✓ ◆ 365Var(X) =365Var(I 1 )+2 Cov(I 1 ,I 2 ).2To get the covariance, note th<strong>at</strong> Cov(I 1 ,I 2 )=E(I 1 I 2 ) E(I 1 )E(I 2 )=E(I 1 I 2 ) p 2 ,<strong>and</strong> E(I 1 I 2 )=P (I 1 I 2 =1)=P (A 1 \ A 2 ), where A j is the event th<strong>at</strong> <strong>at</strong> least oneperson was born on the jth day of the year. The probability of the complement is✓ ◆ 110 ✓ ◆ 110 364 363P (A c 1 [ A c 2)=P (A c 1)+P (A c 2) P (A c 1 \ A c 2)=2,365 365so Var(X) =365p(1 p)+365· 364 · (1 (2 364365110 363365110) p 2 ) ⇡ 10.019.2. A scientist makes two measurements, considered to be independent st<strong>and</strong>ardNormal r.v.s. Find the correl<strong>at</strong>ion between the larger <strong>and</strong> smaller of the values.Hint: note th<strong>at</strong> max(x, y)+min(x, y) =x + y <strong>and</strong> max(x, y) min(x, y) =|x y|.Let X <strong>and</strong> Y be i.i.d N (0, 1) <strong>and</strong> M =max(X, Y ),L=min(X, Y ). By the hint,E(M)+E(L) =E(M + L) =E(X + Y )=E(X)+E(Y )=0,E(M) E(L) =E(M L) =E|X Y | = 2 p ⇡,where the last equality was shown in class. So E(M) =1/ p ⇡,<strong>and</strong>Cov(M,L) =E(ML) E(M)E(L) =E(XY )+(EM) 2 =(EM) 2 = 1 ⇡ ,1