Hacker News new | ask | show | jobs
by esafak 977 days ago
Basically rejection sampling, which is about obtaining variates from one distribution using variates from another. We have samples from p-coins (where p is the probability of flipping heads) and we wish to generate samples from 0.5-coins.

https://www.newton.ac.uk/files/seminar/20100623134014301-152...