首页    期刊浏览 2024年10月07日 星期一
登录注册

文章基本信息

  • 标题:Evaluating the Normal Distribution
  • 本地全文:下载
  • 作者:George Marsaglia
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2004
  • 卷号:11
  • 期号:1
  • 页码:1-11
  • 语种:English
  • 出版社:University of California, Los Angeles
  • 摘要:This article provides a little table-free C function that evaluates the normal distribution with absolute error less than 8 x 10 -16 . A small extension provides relative error near the limit available in double precision: 14 to 16 digits, the limits determined mainly by the computer's ability to evaluate exp(-t) for large t. Results are compared with those provided by calls to erf or erfc functions, the best of which compare favorably, others do not, and all appear to be much more complicated than need be to get either absolute accuracy less than 10 -15 or relative accuracy to the exp()-limited 14 to 16 digits. Also provided: A short history of the error function erf and its intended use, as well as, in the "browse files" attachment, various erf or erfc versions used for comparison.
国家哲学社会科学文献中心版权所有