Let X1, ..., Xn be a random sample from a geometric distribution, where each Xi is counting the number of failures until the first success in a sequence of independent Bernoulli trials with constant probability p of success.
(a) Find the distribution of Sn = ∑i=1 to n Xi.
(b) Find E(Sn) and Var(Sn).
(c) Let Xn_bar = 1/n Sn. Find E(Xn_bar) and Var(Xn_bar).
(d) Find a consistent estimator of p.