Monday, April 18, 2016

probability - Expected value of sum squared is sum of expected value squared?



Consider the following expression:



XBIN(1,p)



Var(ˉX)=Var(iXin)=1n2Var(iXi)=1n2(iE(X2i)(iE(Xi))2)



=1n2(i(pq+p2)(np)2)=1n2(npq+np2n2p2)=np(1p)n




Now I know that the C.R.L.B. is equal to this: Var(T)p(1p)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(1p)+n2p2 (the variance plus the square of the mean).



In your expression, you could have



Var(ˉX)=Var(iXin)=1n2Var(iXi)=1n2iVar(Xi)=np(1p)n2=p(1p)n



or



Var(ˉX)=Var(iXin)=1n2Var(iXi)=1n2(E((iXi)2)(E(iXi))2)



No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...