State and prove the Rao-Blackwell theorem.
Individuals in a population are independently of three types {0,1,2}, with unknown probabilities p0,p1,p2 where p0+p1+p2=1. In a random sample of n people the i th person is found to be of type xi∈{0,1,2}.
Show that an unbiased estimator of θ=p0p1p2 is
θ^={1,0, if (x1,x2,x3)=(0,1,2) otherwise.
Suppose that ni of the individuals are of type i. Find an unbiased estimator of θ, say θ∗, such that var(θ∗)<θ(1−θ).