A simple method for generating gamma variables

  title={A simple method for generating gamma variables},
  author={George Marsaglia and Wai Wan Tsang},
  journal={ACM Trans. Math. Softw.},
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 <italic>x</italic> and a uniform variate <italic>U</italic> until In (<italic>U</italic>)<0.5<italic>x</italic><supscrpt>2</supscrpt> + <italic>d</italic> - <italic>dv</italic> + <italic>d</italic>ln(italic>v</italic>), then return <italic>dv</italic>. Here, the gamma parameter is… CONTINUE READING
Related Discussions
This paper has been referenced on Twitter 2 times. VIEW TWEETS


Publications citing this paper.
Showing 1-10 of 52 extracted citations

Comparative analysis of ZF and MMSE detections for nakagami-m faded MIMO channels

2015 Annual IEEE India Conference (INDICON) • 2015
View 4 Excerpts
Highly Influenced

Monte Carlo Determination of the Characteristic Limits in Measurement of Ionising Radiation — Fundamentals and Numerics

K. Weisea, G. Kanischb, +3 authors M. Täschnerc
View 7 Excerpts
Highly Influenced


Publications referenced by this paper.
Showing 1-3 of 3 references

The Marsaglia Random Number CDROM, with the Diehard Battery of Tests of Randomness

Produced under a grant from the National Science at Florida State University. Available at http://stat.fsu.edu/pub/diehard/cdrom. • 1996
View 3 Excerpts
Highly Influenced

The squeeze method for generating gamma variates

Comput. Math. Appl. 3, 321–325. • 1977
View 5 Excerpts
Highly Influenced

Similar Papers

Loading similar papers…