EconPapers    
Economics at your fingertips  
 

Logarithmic Transformation-Based Gamma Random Number Generators

Bowei Xi, Kean Ming Tan and Chuanhai Liu

Journal of Statistical Software, 2013, vol. 055, issue i04

Abstract: Developing efficient gamma variate generators is important for Monte Carlo methods. With a brief review of existing methods for generating gamma random numbers, this article proposes two simple gamma variate generators that are obtained from the ratio- of-uniforms method and based on two logarithmic transformations of the gamma random variable. One transformation allows for the generators to work for all shape parameter values. The other is introduced to have improved efficiency for shape parameters smaller than or equal to one.

Date: 2013-10-22
References: View complete reference list from CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v055i04/v55i04.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... v055i04/ROUgamma.zip
https://www.jstatsoft.org/index.php/jss/article/do ... ile/v055i04/v55i04.R

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:055:i04

DOI: 10.18637/jss.v055.i04

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:055:i04