I have a computer simulation from which I get a sample of values of some microscopic quantity $X$, i.e. $\{ x_1,\ldots,x_N \}$. I'm interested in estimating the expected value of $X$, i.e. $E[ X]\approx\frac{1}{N}\sum x_i$, and the variance associated with this estimate.
Now, do I understand correctly that:
taking the estimate of the variance of $X$, $Var[X]\approx\frac{1}{N}\sum (x_i-\bar{x})^2$, is NOT what I'm looking for (which in this notation would be $Var[E[X]]$)?
I need to make use of some statistical technique, such as bootstrapping?