Consider the following expression:
X∼BIN(1,p)
Var(ˉX)=Var(∑iXin)=1n2Var(∑iXi)=1n2(∑iE(X2i)−(∑iE(Xi))2)
=1n2(∑i(pq+p2)−(np)2)=1n2(npq+np2−n2p2)=np(1−p)n
Now I know that the C.R.L.B. is equal to this: Var(T)≥p(1−p)n
This means that I must get the same expression to show that ˉX is the UMVUE.
Clearly my expression has a n which shouldn't be there. I think my mistake is in this part:
E(∑iXi)2=(∑iE(Xi))2=(np)2=n2p2
So I think it should be:
E(∑iXi)2=∑i(E(Xi)2)=np2
Because that does yield the correct answer.
So is this indeed the mistake or did I make another mistake?
And I would also greatly appreciate it if someone could explain why this is wrong because I don't get the reasoning behind it.
Thanks in advance.
Answer
E(∑iXi)2 is ambiguous: it could be (E(∑iXi))2 or E((∑iXi)2)
For a binomial distribution (the sum of n independent Bernoulli random variables), the former is n2p2 (the square of the mean), while the latter is np(1−p)+n2p2 (the variance plus the square of the mean).
In your expression, you could have
Var(ˉX)=Var(∑iXin)=1n2Var(∑iXi)=1n2∑iVar(Xi)=np(1−p)n2=p(1−p)n
or
Var(ˉX)=Var(∑iXin)=1n2Var(∑iXi)=1n2(E((∑iXi)2)−(E(∑iXi))2)
No comments:
Post a Comment