MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Random bits (generation)


On Thu, 20 Jun 2002, DIAMOND Mark R. wrote:

> I am not sure whether anyone other than a Wolfram guru will know the
> answer to this. ...
>
> (1) If I wish to generate a large number of random bits, what is the fastest
> way?
> (2) What is the safest way in the sense of being able to expect the bit
> sequence to pass Marsaglia's Diehard battery of tests Maurer's Universal
> Statistical Test.? or is this requirement impossible to meet with Random?
>
> More specifically, to be sure that they are independent and random, should I
> use something like Random[Integer, {0,1}] or can one use *all the bits* of,
> say, Random[Integer, {0,2^32-1}] ... or even something  larger.

I think this was investigated in the paper "The Accuracy of Mathematica 4
as a Statistical Package", which appears in Volume 15 Issue 2 (2000) of
_Computational Statistics_, pp 279-299.  To the best of my knowledge,
there is no on-line version of this paper.

-- 
P.J. Hinton
User Interface Programmer                         paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.



  • Prev by Date: Re: vector integration
  • Next by Date: Re: Odd Formatting Problem
  • Previous by thread: Re: Random bits (generation)
  • Next by thread: Notebook editor and KDE on Linux