Skip to main content
Log in

A Note on the Performance of the “Ahrens Algorithm”

  • Published:
Computing Aims and scope Submit manuscript

Abstract

This short note discusses performance bounds for “Ahrens” algorithm, that can generate random variates from continuous distributions with monotonically decreasing density. This rejection algorithm 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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received July 23, 2001; revised May 8, 2002 Published online: July 26, 2002

Rights and permissions

Reprints and permissions

About this article

Cite this article

Hörmann, W. A Note on the Performance of the “Ahrens Algorithm”. Computing 69, 83–89 (2002). https://doi.org/10.1007/s00607-002-1456-y

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00607-002-1456-y

Navigation