Suppose we wish to estimate the probability θ∈(0,1) that a potentially biased coin lands heads up when tossed. After n independent tosses, we observe X heads.
(a) Write down the maximum likelihood estimator θ^ of θ.
(b) Find the mean squared error f(θ) of θ^ as a function of θ. Compute supθ∈(0,1)f(θ).
(c) Suppose a uniform prior is placed on θ. Find the Bayes estimator of θ under squared error loss L(θ,a)=(θ−a)2.
(d) Now find the Bayes estimator θ~ under the lossL(θ,a)=θα−1(1−θ)β−1(θ−a)2, where α,β⩾1. Show that
θ~=wθ^+(1−w)θ0,
where w and θ0 depend on n,α and β.
(e) Determine the mean squared error gw,θ0(θ) of θ~ as defined by (∗).
(f) For what range of values of w do we have supθ∈(0,1)gw,1/2(θ)⩽supθ∈(0,1)f(θ) ?
[Hint: The mean of a Beta (a,b) distribution is a/(a+b) and its density p(u) at u∈[0,1] is ca,bua−1(1−u)b−1, where ca,b is a normalising constant.]