A Note on the Performance of the "Ahrens Algorithm"

Wolfgang Hörmann

Publication: Working/Discussion PaperWU Working Paper

53 Downloads (Pure)

Abstract

This short note discusses performance bounds for "Ahrens" algorithm, that can generate random variates from continuous distributions with monotonically decreasing density. This rejection algorithms uses constant hat-functions and constant squeezes over many small intervals. The choice of these intervals is important. Ahrens has demonstrated that the equal area rule that uses strips of constant area leads to a very simple algorithm. We present bounds on the rejection constant of this algorithm depending only on the number of intervals. (author's abstract)

Publication series

SeriesPreprint Series / Department of Applied Statistics and Data Processing
Number39

WU Working Paper Series

  • Preprint Series / Department of Applied Statistics and Data Processing

Cite this