Algorithm Importance Sampling
Given a distribution
- For
- Generate
from - Give
a weight are weighted samples from .
- Generate
Prop Weighted expectations under
Fact Variability of Weights
If weights are highly variable (i.e.
Def Effective Sample Size
The effective sample size is usually used to measure weights variance, higher effective sample size, lower variability of weights:
if for all except for some when for all - To maximize
, choose proposed to closely match .
Algorithm Sequential Importance Sampling