A simple method for generating gamma variables.

We offer a procedure for generating a gamma variate as the cube of a suitably scaled normal variate. It is fast and simple, assuming one has a fast way to generate normal variables. In brief: generate a normal variate x and a uniform variate U until In (U)<0.5x2 + d - dv + dln(italic>v), then...

Full description

Bibliographic Details
Published in:ACM transactions on mathematical software. 26, 3 (2000).
Main Author: Marsaglia, George
Other Authors: Tsang, Wai Wan
Format: Article
Language:English
Subjects: