Rejection Sampling
Goal: To sample from unknown distribution
Assumptions
- we cannot sample from
- we have a simple proposal density
we can evaluate within a multiplicative factor - We know the value of a constant
, such that for all
Method
- Sample from proposal density
- Evaluate
- Generate a uniform distribution
and sample from it - Evaluate
- If
, reject, else accept, and add to the set of samples
Difficulties
- Works well only when
is a good approximation to , keeping small - In high-dimensional settings,
will generally be so large that acceptances will be rare