Solved – Variance for hit-and-miss Monte Carlo method and importance sampling

importance-samplingmonte carlo

Variance for Hit-and-Miss Monte Carlo is given by $Var(\theta)=\frac{\Theta*(1-\Theta)}{N}$ where $\theta$ is the estimated probability of Hit and N is the number of simulations. Can someone explain why? And what will be the variance when Importance Sampling is used?

Best Answer

The first is just the variance of $\hat{p} = X/n$ in a binomial.

If $X$ is the number of "hits" in $n$ trials,

$$\newcommand{\Var}{\operatorname{Var}}\Var(X) = n\theta(1-\theta)$$

(Wikipedia on the Binomial Distribution).

So

$$\Var(X/n) = \frac{1}{n^2} n\theta(1-\theta) = \frac{\theta(1-\theta)}{n}.$$

For a comparison of the variance between the plain binomial case and importance sampling, see this section of the Wikipedia article on importance sampling.

Related Question