calculate variance of estimator