Algorithm Rejection Sampling
We want to sample from PDF , but this is difficult to do. Suppose we have proposed PDF , then we can:
- Generate from
- Accept with probability
Or equivalently, - Generate from
- Generate from
- Accept if
where we require for all . For efficiency, we can let .
