ST3239: Survey Methodology - The Department of Statistics and ...
ST3239: Survey Methodology - The Department of Statistics and ...
ST3239: Survey Methodology - The Department of Statistics and ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Question: What is the distribution <strong>of</strong> X? (Hint: Classify the people into “Yes” <strong>and</strong> “Not<br />
Yes”)<br />
<strong>The</strong>orem 2.5.1<br />
E(X) = np 1 , E(Y ) = np 2 , E(Z) = np 3 ,<br />
V ar(X) = np 1 q 1 , V ar(Y ) = np 2 q 2 ,<br />
Cov(X, Y ) = −np 1 p 2 .<br />
Pro<strong>of</strong>. X = number <strong>of</strong> people saying “YES” ∼ Bin(n, p 1 ). So EX = np 1 , V ar(X) = np 1 q 1 .<br />
Now Cov(X, Y ) = E(XY ) − (EX)(EY ) = E(XY ) − n 2 p 1 p 2 . But<br />
E(XY ) =<br />
=<br />
=<br />
=<br />
∑<br />
x,y≥0,x+y≤n<br />
∑<br />
x,y≥1,x+y≤n<br />
∑<br />
x,y≥1,x+y≤n<br />
∑<br />
x,y≥1,x+y≤n<br />
xyP (X = x, Y = y)<br />
xyP (X = x, Y = y, Z = n − x − y)<br />
n!<br />
xy<br />
x! y! (n − x − y)! px 1p y 2p n−x−y<br />
3<br />
n!<br />
(x − 1)! (y − 1)! (n − x − y)! px 1p y 2p n−x−y<br />
3<br />
= n(n − 1)p 1 p 2<br />
∑<br />
x−1,y−1≥0,(x−1)+(y−1)≤(n−2)<br />
(n − 2)!<br />
(x − 1)! (y − 1)! ((n − 2) − (x − 1) − (y − 1))! px−1 1 p y−1<br />
2 p (n−2)−(x−1)−(y−1)<br />
3<br />
∑<br />
= n(n − 1)p 1 p 2<br />
x 1 ,y 1 ≥0,x 1 +y 1 ≤(n−2)<br />
(n − 2)!<br />
(x 1 )! (y 1 )! ((n − 2) − x 1 − y 1 )! px 1<br />
1 p y 1<br />
2 p (n−2)−x 1−y 1<br />
3<br />
= n(n − 1)p 1 p 2 = n 2 p 1 p 2 − np 1 p 2 .<br />
<strong>The</strong>refore, Cov(X, Y ) = E(XY ) − n 2 p 1 p 2 = −np 1 p 2 .<br />
<strong>The</strong>orem 2.5.2<br />
E(ˆp 1 ) = p 1 , E(ˆp 2 ) = p 2 ,<br />
V ar(ˆp 1 ) = p 1 q 1 /n, V ar(ˆp 2 ) = p 2 q 2 /n,<br />
Cov(ˆp 1 , ˆp 2 ) = −p 1 p 2 /n.<br />
19