Generating Gamma Distributed Variates for Computer Simulation Models

Morton B. Berman

ResearchPublished 1971

Compares two methods of generating random variates for simulation studies from gamma distributions with nonintegral shape parameters. The commonly used probability switch approximation method is examined for accuracy and computation costs, while Johnk's exact method is investigated for computation costs. The probability switch method approximates the gamma distribution very closely for shape parameters above 5.0, poorly between 1.0 and 5.0, and not at all below 1.0. Johnk's method, while exact, is 2.5 to 3 times slower in the shape parameter range of 1.0 to 5.0. Johnk's method is recommended for shape parameters below 5.0, and the probability switch method is recommended above 5.0. FORTRAN routines for the two methods are provided. The data used to investigate the accuracy of the probability switch method are appended, as are selected plots of the distributions and a discussion of methods to generate beta variates.

Order a Print Copy

Format
Paperback
Page count
52 pages
List Price
$20.00
Buy link
Add to Cart

Document Details

  • Availability: Available
  • Year: 1971
  • Print Format: Paperback
  • Paperback Pages: 52
  • Paperback Price: $20.00
  • Document Number: R-641-PR

Citation

RAND Style Manual
Berman, Morton B., Generating Gamma Distributed Variates for Computer Simulation Models, RAND Corporation, R-641-PR, 1971. As of September 19, 2024: https://www.rand.org/pubs/reports/R0641.html
Chicago Manual of Style
Berman, Morton B., Generating Gamma Distributed Variates for Computer Simulation Models. Santa Monica, CA: RAND Corporation, 1971. https://www.rand.org/pubs/reports/R0641.html. Also available in print form.
BibTeX RIS

This publication is part of the RAND report series. The report series, a product of RAND from 1948 to 1993, represented the principal publication documenting and transmitting RAND's major research findings and final research.

This document and trademark(s) contained herein are protected by law. This representation of RAND intellectual property is provided for noncommercial use only. Unauthorized posting of this publication online is prohibited; linking directly to this product page is encouraged. Permission is required from RAND to reproduce, or reuse in another form, any of its research documents for commercial purposes. For information on reprint and reuse permissions, please visit www.rand.org/pubs/permissions.

RAND is a nonprofit institution that helps improve policy and decisionmaking through research and analysis. RAND's publications do not necessarily reflect the opinions of its research clients and sponsors.