期刊文献+

任意分布随机变量抽样的通用算法与程序 被引量:9

ALGORITHM AND PROGRAM OF SAMPLING FROM ARBITRARY DISTRIBUTIONS
原文传递
导出
摘要 本文给出任意单变量离散或连续分布抽样的通用算法与程序.对于离散分布,将根据其分布率从三个算法(逆变换、罐子法和别名法)中自动选出最合适的一个.在连续分布场合,使用如下的复合抽样方法:f(x)=pafa(x)+(1-pa)fb(x),式中fa(x)是密度f(x)的近似,并有fa(x)=L(x)/pa,而L(x)(≤f(x))是阶梯函数,其面积pa→1.在连续分布抽样中,也借助罐子法、别名法和近似的舍选法,且阶梯函数中的阶梯数目和非等距的阶梯划分等都由程序根据f(x)的特性自动确定.多于20个分布的数值试验表明,我们的通用算法很有效,可与为某些特定分布专门设计的最佳算法媲美. The algorithms and programs for general purpose are provided for sampling from any discrete or continuous distribution with single variable. For the discrete distribution, one of three algorithms (inverse transform, Urn and Alias) is selected automatically based on the mass peculiarity. In case of continuous distribution, the composition method is used for sampling as follows: f(x) = pafa(x) + (1 - pa)fb(x), where fa(x) is an approximation of f(x), and fa(x) = L(x)/pa, L(x) (≤ f(x)) is a step function and its area pa → 1. In sampling, the urn, alias and approximate acceptance-rejection methods are used, respectively, and the number of steps in step function and non-equispaced steps are determined automatically by the program based on f(x) peculiarity. The numerical experiment of more than 20 distributions showed that our general purpose algorithm is efficient as the best algorithm for some particular distribution only.
出处 《数值计算与计算机应用》 CSCD 2006年第3期191-200,共10页 Journal on Numerical Methods and Computer Applications
关键词 蒙特卡洛方法 随机数发生器 随机变量抽样 任意分布 统计模拟 Monte Carlo method, random number generator, sampling from random variable, arbitrary distribution, statistical simulation
  • 相关文献

参考文献9

  • 1裴鹿成.任意分布的自动抽样方法[J].安徽大学学报:自然科学版,3(2000):1-6. 被引量:1
  • 2Peterson, A.V., Jr. and Kronmal, R.A., On Mixture Methods for the Computer Generation of Random Variables, The American Statistician, 36(1982), 184-191. 被引量:1
  • 3徐钟济编著..蒙特卡罗方法[M].上海:上海科学技术出版社,1985:324.
  • 4Devroye, L., Non-Uniform Random variate Generation, Springer, New York, (1986). 被引量:1
  • 5Fishman, G.S., Monte Carlo - Concepts, Algorithms and Applications, Springer, New York,(1996). 被引量:1
  • 6杨自强,魏公毅.综述:产生伪随机数的若干新方法[J].数值计算与计算机应用,2001,22(3):201-216. 被引量:64
  • 7Walker, A.J., New Fast Method for Generating Discrete Random Numbers/with Arbitrary Frequency Distributions, Electronics Letters, 10(1974), 127-128. 被引量:1
  • 8Walker, A.J., An Efficient Method for Generating Discrete Random Variables with General Distributions, ACT Transactions on Mathematical Software, 3(1977), 253-256. 被引量:1
  • 9Kronmal, R.A. and Peterson, A.V., Jr., On the Alias Method for Generating Random Variables from a Discrete Distribution, The American Statistician, 33(1979), 214-218. 被引量:1

二级参考文献4

  • 1杨自强 张正军 等.乘同余法和组合随机数发生器的若干结果.第二届全国仿真方法与建模学术会议论文集(SCSI中国会员办公室)[M].,1993.131-137. 被引量:1
  • 2An Hongzhi,Lecture Notes III Statistics 115 Athens Conference on Applied Probability and Time Series(Vol II: Ti,1996年,15页 被引量:1
  • 3杨自强,第二届全国仿真方法与建模学术会议论文集,1993年,131页 被引量:1
  • 4Deng L Y,Statist Simu,1990年,19卷,145页 被引量:1

共引文献63

同被引文献66

引证文献9

二级引证文献46

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部