Research and Advances
Systems and Networking

Computer generation of gamma random variables—II

Posted

A rejection method is proposed for generating gamma variates with nonintegral shape parameter &agr;, &agr; > 1. This method is similar to other methods given by Fishman, Wallace, and Tadikamalla and is faster than these methods for &agr; > 2. The core storage requirements and the programming effort for the proposed method are similar to those of Wallace's or Tadikamalla's methods. The computational times for the proposed method remain fairly constant for medium and large values of &agr; and are superior to times obtained by Arhens and Dieter's method for all values of &agr;. The proposed method is simpler than Ahrens and Dieter's method.

View this article in the ACM Digital Library.

Join the Discussion (0)

Become a Member or Sign In to Post a Comment

The Latest from CACM

Shape the Future of Computing

ACM encourages its members to take a direct hand in shaping the future of the association. There are more ways than ever to get involved.

Get Involved

Communications of the ACM (CACM) is now a fully Open Access publication.

By opening CACM to the world, we hope to increase engagement among the broader computer science community and encourage non-members to discover the rich resources ACM has to offer.

Learn More