Let $X_1 , ... , X_n$ be a series of independent random variables following a Bernoulli distribution with parameter $\theta$. And let $S_n = \sum_1^n X_i$.
We know an unbiased estimator of the variance for the Bernoulli distribution:
$$1/2 * (X_1 - X_2)^2$$
Using the Rao-Blackwell Theorem find the best estimator: (Improved from Rao BlackWell)
$$Z = E_\theta(1/2*(X_1 - X_2)^2 | S_n)$$
Sorry for the poor translation of the problem, the original text is in french. Does anyone have any idea of how to do that? So far neither my book or internet haven't been really helpful... Thanks in advance