Random Variate Generation by Numerical Inversion when Only the Density Is Known

被引:30
作者
Derflinger, Gerhard [1 ]
Hormann, Wolfgang [2 ]
Leydold, Josef [1 ]
机构
[1] Vienna Univ Econ & Business, Dept Math & Stat, WU, A-1090 Vienna, Austria
[2] Bogazici Univ, Dept Ind Engn, TR-34342 Bebek, Turkey
来源
ACM TRANSACTIONS ON MODELING AND COMPUTER SIMULATION | 2010年 / 20卷 / 04期
关键词
Nonuniform random variates; inversion method; universal method; black-box algorithm; Newton interpolation; Gauss-Lobatto integration;
D O I
10.1145/1842722.1842723
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We present a numerical inversion method for generating random variates from continuous distributions when only the density function is given. The algorithm is based on polynomial interpolation of the inverse CDF and Gauss-Lobatto integration. The user can select the required precision, which may be close to machine precision for smooth, bounded densities; the necessary tables have moderate size. Our computational experiments with the classical standard distributions (normal, beta, gamma, t-distributions) and with the noncentral chi-square, hyperbolic, generalized hyperbolic, and stable distributions showed that our algorithm always reaches the required precision. The setup time is moderate and the marginal execution time is very fast and nearly the same for all distributions. Thus for the case that large samples with fixed parameters are required the proposed algorithm is the fastest inversion method known. Speed-up factors up to 1000 are obtained when compared to inversion algorithms developed for the specific distributions. This makes our algorithm especially attractive for the simulation of copulas and for quasi-Monte Carlo applications.
引用
收藏
页数:25
相关论文
共 35 条
[1]  
Abramowitz M., 1972, National Bureau of Standards, Applied Mathematics Series, V55
[2]   COMPUTER METHODS FOR EFFICIENT SAMPLING FROM LARGELY ARBITRARY STATISTICAL DISTRIBUTIONS [J].
AHRENS, JH ;
KOHRT, KD .
COMPUTING, 1981, 26 (01) :19-31
[3]  
[Anonymous], 2008, NUMERICAL METHODS SC
[4]  
[Anonymous], 1960, Technometrics, DOI [10.1080/00401706.1960.10489895, DOI 10.1080/00401706.1960.10489895]
[5]  
[Anonymous], 2004, Automatic Nonuniform Random Vari-ate Generation
[6]  
[Anonymous], 2001, Numerical computing with IEEE floating point arithmetic
[7]  
BARNDORFFNIELSE.O, 1983, STAT SCI, V3, P700
[8]  
Billingsley Patrick, 1995, Probability and Measure
[9]  
BRATLEY P, 1983, GUIDE SIMULATION
[10]  
Chen H-C., 1974, IIE Transactions, V6, P163