Answer to Question #74983, Math / Statistics and Probability
X is a random variable taking values 0 and 1 with respective probabilities q and p. A sample X1,X2,…,X of size n is taken from the distribution. If r=1,x, show that the bias of the estimator tends to zero as n tends to infinity.
Solution.
We have Bernoulli distribution with the probability mass function:
f(xi,p)=pxi(1−p)1−xifor xi∈{0,1}
Then the bias of the estimator:
B(p^)=E(p^)−p
With estimator:
p^=n∑i=1nxi
Variance of estimator:
var(p^)=var(n∑i=1nxi)=n21i=1∑nvar(xi)=n21i=1∑n(pq)=n2npq=npqn→∞limvar(p^)=n→∞limnpq=0
Answer provided by https://www.AssignmentExpert.com