a)
For a Bernoulli random variable,
f(x,θ)=θx(1−θ)1−x, x=0,1
To find the CRLB, we proceed as follows.
lnf(x,θ)=ln(θx(1−θ)1−x)=xlnθ+(1−x)ln(1−θ)
δθδ(lnf(x,θ))=θx−(1−θ)(1−x)
E(δθδ(lnf(x,θ)))2=E(θx−(1−θ)(1−x))2=(θ(1−θ))21E(x−θ)2=θ(1−θ)1
Now,
T(θ)=θ(1−θ)and T′(θ)=1−2θ
Therefore,
var(T(θ))=var(θ(1−θ))=n×E(δθδ(lnf(x,θ)))2(T′(θ))2=n×(θ(1−θ))1(1−2θ)2=n(1−2θ)2×θ(1−θ)=nθ(1−5θ+8θ2−4θ3)
Thus, the CRLB is given by,
var(θ(1−θ))≥nθ(1−5θ+8θ2−4θ3)
b)
Let T=X1+X2+...+Xn. Therefore, T=X1+X2+...+Xn is a complete sufficient statistic . By the Lehmann-Scheffe theorem, if we can find a function of T whose expectation is θ(1−θ), it is an UMVUE.
In any set up, the sample variance (n−1)1∑(Xi−Xˉ)2, is an unbiased estimate of the variance. Since X2=X for Bernoulli random variables,
(n−1)1∑(Xi−Xˉ)2=(n−1)1(∑Xi2−nXˉ2)
=(n−1)1(∑Xi−nXˉ2)
=n(n−1)T(n−T)
Hence, n(n−1)T(n−T) is an UMVUE for the variance, θ(1−θ)