91
Views
0
CrossRef citations to date
0
Altmetric
Research Article

Simulation of truncated and unimodal gamma distributions

Pages 996-1015 | Received 15 Nov 2022, Accepted 24 Oct 2023, Published online: 07 Nov 2023
 

Abstract

An efficient random variable generator for a truncated gamma distribution with shape parameter greater than 1 is designed using an acceptance-rejection algorithm. Based on an approximation to a transformed gamma density function by the standard normal density, numerical information for the standard normal density is prepared in advance, and the calculation is performed with reference to that information. An improvement via a squeezing method is proposed to reduce the computational burden and time. The algorithm's acceptance rate for generating truncated gamma variables is very high and almost 1 when the truncated distribution is unimodal. Numerical experiments for one- and two-sided truncated domain cases are conducted to measure the execution time, including the parameter setup time. Compared with existing truncated gamma variate generators, the proposed method performs better when the distribution is unimodal and the shape parameter is equal to or greater than 3.3.

Mathematics Subject Classifications:

Disclosure statement

No potential conflict of interest was reported by the author(s).

Additional information

Funding

This research was supported by JSPS KAKENHI Grant Numbers JP19H00588 and JP20K19751.

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 61.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 1,209.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.