Monte Carlo Methods
Monte Carlo methods make use of random numbers to solve the following problems:
- Generating samples
from a given probability distribution . - Estimate expectation of functions under this distribution:
This probability distribution is called the target density. The target density is often the posterior of a model’s parameters, given observed data.
If we solve the first problem of sampling, then these samples can be used to solve the second problem via the Monte Carlo estimator:
If the samples are generated from
The accuracy of the Monte Carlo estimate is dependent only on the variance of
, and not on the dimensionality of the space sampled.
Why is sampling hard?
Suppose we can evaluate