A Generalized Transformed Density Rejection Algorithm

Josef Leydold, Wolfgang Hörmann

Publication: Chapter in book/Conference proceedingChapter in edited volume

Abstract

Transformed density rejection is a very flexible method for generating non-uniform random variates. It is based on the acceptance-rejection principle and utilizes a strictly monotone map that transforms the given density into a concave or convex function. Hat function and squeezes are then constructed by means of tangents and secant. We present a new method that works for arbitrary one time continuously differentiable densities. It requires together with the log-density and its derivative a partition of the domain into subdomains that contain at most one inflection point. This improves a previous method of the authors in which also the second derivative is required. We show how the algorithm can be applied to generate from the Generalized Inverse Gaussian distribution, from the Generalized Hyperbolic distribution and from the Watson distribution. The new algorithm can also generate random variates from truncated distributions without problems.
Original languageEnglish
Title of host publicationAdvances in Modeling and Simulation
Subtitle of host publicationFestschrift for Pierre L'Ecuyer
EditorsZdravko Botev, Alexander Keller, Christiane Lemieux, Bruno Tuffin
Place of PublicationCham
PublisherSpringer Cham
Pages283-300
Number of pages18
ISBN (Electronic)978-3-031-10193-9
ISBN (Print)978-3-031-10192-2
DOIs
Publication statusPublished - 1 Dec 2022

Keywords

  • non-uniform random variate generation, black-box algorithm, transformed density rejection, adaptive rejection sampling

Cite this