Nicolas Chopin (CREST) just posted an entry on Statisfaction about the comparison of truncated Normal algorithms run by Alan Rogers, from the University of Utah. Nicolas wrote a paper in Statistics and Computing about a simulation method, which proposes a Ziggurat type of algorithm for this purpose, and which I do not remember reading, thanks to my diminishing memory buffer! As shown in the picture below, when truncating to the half-line (a,∞), this method improves upon my accept-reject approach except in the far tails.
On the top graph, made by Alan Rogers, my uniform proposal (r) seems to be doing better for a Normal truncated to (a,b) when b<0, or when a gets large and close to b. Nicolas’ ziggurat (c) works better than the Gaussian accept-reject method (c) on the positive part. (I wonder what the exponential proposal (e) stands for, in terms of scale parameter.)
![a beautiful representation of the 1850's epidemy of cholera in London by John Snow as part of the `beautiful science' exxhibit pointed out by Pierre Jacob on Statisfaction [I can't get no], somewhat connected to the famous Florence Nightingale's coxcombs, designed the very same year](https://i0.wp.com/www.bl.uk/whatson/exhibitions/beautiful-science/farr-cholera-opt.jpg?resize=450%2C361)


