Journal article
Approximating inverse cumulative distribution functions to produce approximate random variables
- Abstract:
- For random variables produced through the inverse transform method, approximate random variables are introduced, which are produced using approximations to a distribution’s inverse cumulative distribution function. These approximations are designed to be computationally inexpensive, and much cheaper than library functions which are exact to within machine precision, and thus highly suitable for use in Monte Carlo simulations. The approximation errors they introduce can then be eliminated through use of the multilevel Monte Carlo method. Two approximations are presented for the Gaussian distribution: a piecewise constant on equally spaced intervals, and a piecewise linear using geometrically decaying intervals. The errors of the approximations are bounded and the convergence demonstrated, and the computational savings measured for C and C++ implementations. Implementations tailored for Intel and Arm hardware are inspected, alongside hardware agnostic implementations built using OpenMP. The savings are incorporated into a nested multilevel Monte Carlo framework with the Euler-Maruyama scheme to exploit the speed ups without losing accuracy, offering speed ups by a factor of 5–7. These ideas are empirically extended to the Milstein scheme, and the non-central χ2 distribution for the Cox-Ingersoll-Ross process, offering speed ups of a factor of 250 or more.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Accepted manuscript, pdf, 1.5MB, Terms of use)
-
- Publisher copy:
- 10.1145/3604935
Authors
+ Engineering and Physical Sciences Research Council
More from this funder
- Grant:
- EP/P020720/1
- MA/3630057
- Publisher:
- Association for Computing Machinery
- Journal:
- ACM Transactions on Mathematical Software More from this journal
- Volume:
- 49
- Issue:
- 3
- Article number:
- 26
- Publication date:
- 2023-06-17
- Acceptance date:
- 2023-06-07
- DOI:
- EISSN:
-
1557-7295
- ISSN:
-
0098-3500
- Language:
-
English
- Keywords:
- Pubs id:
-
1358791
- Local pid:
-
pubs:1358791
- Deposit date:
-
2023-06-08
Terms of use
- Copyright holder:
- Giles and Sheridan-Methven
- Copyright date:
- 2023
- Rights statement:
- © 2023 Copyright held by the owner/author(s). Publication rights licensed to ACM.
- Notes:
- This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in ACM Transactions on Mathematical Software at: 10.1145/3604935
If you are the owner of this record, you can report an update to it here: Report update to this record