Continuous random variate generation by fast numerical inversion
Authors:
Open Access
- 1 October 2003
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Modeling and Computer Simulation
- Vol. 13 (4) , 347-362
Abstract
The inversion method for generating nonuniform random variates has some advantages compared to other generation methods, since it monotonically transforms uniform random numbers into non-uniform random variates. Hence, it is the method of choice in the simulation literature. However, except for some simple cases where the inverse of the cumulative distribution function is a simple function we need numerical methods. Often inversion by "brute force" is used, applying either very slow iterative methods or linear interpolation of the CDF and huge tables. But then the user has to accept unnecessarily large errors or excessive memory requirements, that slow down the algorithm. In this article, we demonstrate that with Hermite interpolation of the inverse CDF we can obtain very small error bounds close to machine precision. Using our adaptive interval splitting method, this accuracy is reached with moderately sized tables that allow for a fast and simple generation procedure.Keywords
This publication has 17 references indexed in Scilit:
- Automatic sampling with the ratio-of-uniforms methodACM Transactions on Mathematical Software, 2000
- C1 comonotone Hermite interpolation via parametric cubicsJournal of Computational and Applied Mathematics, 1996
- A rejection technique for sampling from T -concave distributionsACM Transactions on Mathematical Software, 1995
- Accurate Monotone Cubic InterpolationSIAM Journal on Numerical Analysis, 1993
- Adaptive Rejection Sampling for Gibbs SamplingJournal of the Royal Statistical Society Series C: Applied Statistics, 1992
- Nonnegativity-, monotonicity-, or convexity-preserving cubic and quintic Hermite interpolationMathematics of Computation, 1989
- Computer methods for efficient sampling from largely arbitrary statistical distributionsComputing, 1981
- Monotone Piecewise Cubic InterpolationSIAM Journal on Numerical Analysis, 1980
- Piecewise monotone interpolationJournal of Approximation Theory, 1977
- On Generating Random Variates from an Empirical DistributionA I I E Transactions, 1974