home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / sci / math / stat / 1522 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.8 KB

  1. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!yuma!lamar!mglacy
  2. From: mglacy@lamar.ColoState.EDU
  3. Newsgroups: sci.math.stat
  4. Subject: Re: random number generator
  5. Summary: What about the L'Ecuyer algorithm?
  6. Keywords: pseudo-random, uniform, normal
  7. Message-ID: <Jul27.161826.26402@yuma.ACNS.ColoState.EDU>
  8. Date: 27 Jul 92 16:18:26 GMT
  9. Sender: news@yuma.ACNS.ColoState.EDU (News Account)
  10. Organization: Colorado State University, Fort Collins, CO  80523
  11. Lines: 32
  12.  
  13.  
  14. I've been using a random number generator that I translated to Pascal
  15. from some FORTRAN code available on STATLIB.  Here's the 
  16. prologue comment to the subroutine as obtained from STATLIB.
  17. ---------------------------------------
  18. Generate uniformly distributed random numbers using the 32-bit
  19. generator from figure 3 of:
  20. L'Ecuyer, P. Efficient and portable combined random number
  21. generators, C.A.C.M., vol. 31, 742-749 & 774-?, June 1988.
  22.  
  23. The cycle length is claimed to be 2.30584E+18
  24. ---------------------------------------
  25.  
  26. It uses two 32 bit seeds--Is this likely to make it dependable
  27. over long sequences, as claimed?
  28.  
  29. Presuming this is something you recognize, I'd appreciate any 
  30. comments on its quality from you RNG specialists out there.
  31. I've been using it as a source of uniform variates to supply a Gaussian
  32. deviate generator (double precision) using the polar method (as described 
  33. in Numerical Recipies).  It's all part of some Monte Carlo investigations
  34. of sampling distributions, with repetitions in the range of say
  35. 10,000 to 100,000 samples of N = 15.
  36.  
  37.  
  38. Thanks.
  39.  
  40.  
  41. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  42. Mike Lacy  Dept. of Sociology  Colo. State Univ.   Fort Collins CO 80523
  43. Opinions and truth-claims offered above are mine, not my employer's.
  44. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  45.