The Ziggurat Method for Generating Random Variables

By George Marsaglia, Wai Wan Tsang. 2000

703 citations recorded by the source corpus.

We provide a new version of our ziggurat method for generating a random variable from a given decreasing density. It is faster and simpler than the original, and will produce, for example, normal or exponential variates at the rate of 15 million per second with a C version on a 400MHz PC. It uses two tables, integers ki, and reals wi. Some 99% of the time, the required x is produced by: Generate a random 32-bit integer j and let i be the index formed from the rightmost 8 bits of j. If j

Subfields: Artificial Intelligence, Statistics and Probability, Algorithms & Complexity

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Andrea Vedaldi
  2. Andrew Zisserman
  3. Yoshua Bengio
  4. Karel Lenc
  5. Trevor Darrell
  6. Joon Son Chung
  7. Yi Yang
  8. Ming-Hsuan Yang

In Statistics and Probability

  1. Sergey Ioffe
  2. Andrea Vedaldi
  3. John Marsaglia
  4. Karel Lenc
  5. Li Xiong
  6. Slawomir Goryczka
  7. George Marsaglia
  8. Vaidy S. Sunderam

In Algorithms & Complexity

  1. Sergey Ioffe
  2. Andrea Vedaldi
  3. John Marsaglia
  4. Karel Lenc
  5. Li Xiong
  6. Slawomir Goryczka
  7. George Marsaglia
  8. Vaidy S. Sunderam

Citations in the corpus