Computational Physics at Carleton University Index
Course Information Numerical Methods Monte Carlo Methods Statistics for Physicists Special Topics
General Techniques


General Techniques

This section describes techniques for generating random numbers according to a given distribution. The rejection technique is the simplest, but is not appropriate for many applications. The inversion technique is the most efficient, but only applicable for simple distributions. A hybrid of the two methods, known as importance sampling, is the most general method.

The exercise compares the efficiency of generating a Monte Carlo sample with significant peaks, using the rejection method and the inversion method.


By clicking the above thumbnail page images, you can peruse the slides. You can also download the (494K) colour postscript file that contains these slides.

The entire set of slides for this course is available in colour postscript or in black and white postscript.