Let X1,…,Xn be independent, identically distributed random variables with
P(Xi=1)=θ=1−P(Xi=0)
where θ is an unknown parameter, 0<θ<1, and n⩾2. It is desired to estimate the quantity ϕ=θ(1−θ)=nVar((X1+⋯+Xn)/n).
(i) Find the maximum-likelihood estimate, ϕ^, of ϕ.
(ii) Show that ϕ^1=X1(1−X2) is an unbiased estimate of ϕ and hence, or otherwise, obtain an unbiased estimate of ϕ which has smaller variance than ϕ^1 and which is a function of ϕ^.
(iii) Now suppose that a Bayesian approach is adopted and that the prior distribution for θ,π(θ), is taken to be the uniform distribution on (0,1). Compute the Bayes point estimate of ϕ when the loss function is L(ϕ,a)=(ϕ−a)2.
[You may use that fact that when r,s are non-negative integers,
∫01xr(1−x)sdx=r!s!/(r+s+1)!]