IDEAS home Printed from https://ideas.repec.org/a/spr/compst/v37y2022i2d10.1007_s00180-021-01136-w.html
   My bibliography  Save this article

An improved exact sampling algorithm for the standard normal distribution

Author

Listed:
  • Yusong Du

    (Sun Yat-sen University
    Guangdong Key Laboratory of Information Security Technology)

  • Baoying Fan

    (Sun Yat-sen University)

  • Baodian Wei

    (Sun Yat-sen University
    Guangdong Key Laboratory of Information Security Technology)

Abstract

In 2016, Karney proposed an exact sampling algorithm for the standard normal distribution. In this paper, we study the computational complexity of this algorithm under the random deviate model. Specifically, Karney’s algorithm requires the access to an infinite sequence of independently and uniformly random deviates over the range (0, 1). We give a theoretical estimate of the expected number of uniform deviates used by this algorithm until it completes, and present an improved algorithm with lower uniform deviate consumption. The experimental results also shows that our improved algorithm has better performance than Karney’s algorithm.

Suggested Citation

  • Yusong Du & Baoying Fan & Baodian Wei, 2022. "An improved exact sampling algorithm for the standard normal distribution," Computational Statistics, Springer, vol. 37(2), pages 721-737, April.
  • Handle: RePEc:spr:compst:v:37:y:2022:i:2:d:10.1007_s00180-021-01136-w
    DOI: 10.1007/s00180-021-01136-w
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s00180-021-01136-w
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s00180-021-01136-w?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:compst:v:37:y:2022:i:2:d:10.1007_s00180-021-01136-w. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.