Reweighting identity
Insert a proposal density q into the integral, then treat the ratio p/q as part of the sampled quantity.
Putting random samples where an integral matters most
Standard Monte Carlo can waste samples where the integrand is nearly zero. Importance sampling draws from a better proposal and corrects the change with weights.
The essential idea: sample from a convenient proposal, then reweight so the desired integral remains unchanged.
▶Presented by Charlotte Moser
Watch on YouTube ↗Insert a proposal density q into the integral, then treat the ratio p/q as part of the sampled quantity.
For an unnormalized integrand, divide directly by the proposal density at each sampled point.
Estimate the integral of exp(-x^1.5), then repeat many 100-sample experiments to compare the full estimator PDFs, means, and variances from the slides.
Each bar chart is an empirical PDF built from K independent estimates. A good estimator should be centered near the truth and tightly concentrated.
Importance sampling can reduce Monte Carlo variability dramatically by concentrating samples where their weighted contributions matter.