variance of bernoulli estimator