Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Random bits (generation)

  • To: mathgroup at
  • Subject: [mg35071] Re: [mg35045] Random bits (generation)
  • From: "P.J. Hinton" <paulh at>
  • Date: Mon, 24 Jun 2002 03:20:52 -0400 (EDT)
  • Organization: "Wolfram Research, Inc."
  • Sender: owner-wri-mathgroup at

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 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