next up previous contents
Next: Monte Carlo Method Up: Sampling from the Posterior Previous: Stratified Sampling

Importance Sampling

Importance sampling is a technique for numerically approximating an integral. It is mentioned here as a basis for the numerical concepts which follow. It is similar to stratified sampling in that the fundamental idea is that the sampling process is distorted, to take into account the weighting of the underlying distribution.

An example of importance sampling in a Monte-Carlo context, is detailed in Section gif, but the basic principle is as follows:

In wanting to estimate

displaymath2253

where f(x) is a density function, one could sample n values of x from f(x) and then approximate with

displaymath2254

Alternatively, m values of x could be sampled from another density h(x) and then I could be estimated using

displaymath2255

Consideration can then be made as to how h(x) may be chosen so that the estimator is most efficient. It turns out that the most efficient form for h(x) samples from areas where g(x) is large, provided that f(x) is not small, [25]. Such ideas are important in any method when simulating from the posterior.



Cathal Walsh
Sat Jan 22 17:09:53 GMT 2000