首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:Some Difficult-to-pass Tests of Randomness
  • 本地全文:下载
  • 作者:George Marsaglia ; Wai Wan Tsang
  • 期刊名称:Journal of Statistical Software
  • 印刷版ISSN:1548-7660
  • 电子版ISSN:1548-7660
  • 出版年度:2002
  • 卷号:7
  • 期号:1
  • 页码:1-9
  • 语种:English
  • 出版社:University of California, Los Angeles
  • 摘要:We describe three tests of randomness-- tests that many random number generators fail. In particular, all congruential generators-- even those based on a prime modulus-- fail at least one of the tests, as do many simple generators, such as shift register and lagged Fibonacci. On the other hand, generators that pass the three tests seem to pass all the tests in the Diehard Battery of Tests. Note that these tests concern the randomness of a generator's output as a sequence of independent, uniform 32-bit integers. For uses where the output is converted to uniform variates in [0,1), potential flaws of the output as integers will seldom cause problems after the conversion. Most generators seem to be adequate for producing a set of uniform reals in [0,1), but several important applications, notably in cryptography and number theory-- for example, establishing probable primes, complexity of factoring algorithms, random partitions of large integers-- may require satisfactory performance on the kinds of tests we describe here.
国家哲学社会科学文献中心版权所有