Monte Carlo integration
ID: monte-carlo-integration
To calculate , generate independent with density and average . Integrability gives convergence by the strong law of large numbers; finite variance gives an unbiased estimate with variance . Applying this to indicators estimates probabilities. Correlated Markov chain Monte Carlo samples can also approximate the integral, but their error is determined by the chain's dependence rather than the independent-sample variance formula.
New to topics? Read the docs here!