Rejection Sampling

  • Also called Best-of-n sampling
  • No CDF with a simple inverse
  • Importance sampling
  • Use a simpler distribution which is somewhat related to the target PDF
    • Sample by transformation
  • Now if we can take a Proto PDF where we can sample from the PDF g
  • Take a point from g with Probability
    • Either accept or reject if satisfies Probability
    • If accepted then return the sample
  • Drop a point from with that Probability
  • Depends on how close g is to f of course
    • If the ratio is small. (aka f is bigger), then there are many rejections and the algo will be slow. Impossible to not do in high dim spaces