NOTE: This is an archive of my old blog. Go to http://gonium.net for my current website.

Generating random numbers from any distribution

Posted by md on July 29, 2008

At work I needed to generate random numbers following a combination of two gaussian distributions – which gave me some headache until someone pointed me to using a Monte Carlo approach. Here’s how.

Continue reading…