home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / sci / math / stat / 1714 < prev    next >
Encoding:
Text File  |  1992-08-20  |  1.7 KB  |  42 lines

  1. Newsgroups: sci.math.stat
  2. Path: sparky!uunet!utcsri!torn!news.ccs.queensu.ca!mast.queensu.ca!dmurdoch
  3. From: dmurdoch@mast.queensu.ca (Duncan Murdoch)
  4. Subject: Re: Generating a set of random bits
  5. Message-ID: <dmurdoch.62.714343698@mast.queensu.ca>
  6. Lines: 30
  7. Sender: news@knot.ccs.queensu.ca (Netnews control)
  8. Organization: Queen's University
  9. References: <36984@sdcc12.ucsd.edu> <1992Aug19.122345.27772@cl.cam.ac.uk> <1992Aug20.195901.2259@cc.tut.fi>
  10. Date: Thu, 20 Aug 1992 20:48:18 GMT
  11.  
  12. In article <1992Aug20.195901.2259@cc.tut.fi> vattu@cc.tut.fi (Vattulainen Ilpo) writes:
  13. >>nmm@cl.cam.ac.uk (Nick Maclaren) writes:
  14. >>Standard warnings:
  15. >>
  16. >>    2) Don't trust Numerical Recipes - about half of its techniques are
  17. >>reliable, but the others contain serious traps.  
  18. >
  19. >    I agree.
  20.  ...
  21. >    are. But - do not use RAN3 (in Numerical Recipes ), if you 
  22. >    want random bit-wise properties... This is due to my own 
  23. >    experiences :-/
  24.  
  25. I think both people I've quoted above are being somewhat unfair to Numerical 
  26. Recipes.  Perhaps it has changed in later editions, but in the original 
  27. edition, it plainly says that none of the routines in the book are 
  28. applicable to this very problem, and refers the reader to Knuth.  If you 
  29. were burned by using RAN3 for a vector of random bits, you can't really blame
  30. Press et al.
  31.  
  32. More generally, I think it's true of advice from most books (and certainly 
  33. of that received over the net) that at least half of it contains traps for 
  34. the unwary.  Saying this about Numerical Recipes in particular doesn't 
  35. really convey any information.  
  36.  
  37. Thanks to both of the above for posting useful answers, as well as what 
  38. I've picked out above.
  39.  
  40. Duncan Murdoch
  41. dmurdoch@mast.queensu.ca
  42.