home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / bit / listserv / sasl / 4118 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.8 KB  |  39 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Newsgroups: bit.listserv.sas-l
  3. Path: sparky!uunet!gatech!paladin.american.edu!auvm!uvvm!klassen
  4. References:  <9209091735.AA28587@slc10.INS.CWRU.Edu>
  5. Message-ID: <92253.111111KLASSEN@UVVM>
  6. Date:         Wed, 9 Sep 1992 11:11:11 PDT
  7. Reply-To:     Melvin Klassen <KLASSEN@UVVM.BITNET>
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. Comments:     Warning -- original Sender: tag was NETNEWS@UVVM.UVIC.CA
  10. From:         Melvin Klassen <KLASSEN@UVVM.BITNET>
  11. Subject:      Re: numbers in SAS
  12. Lines: 25
  13.  
  14. "Paul A. Thompson" <pat@PO.CWRU.EDU> says:
  15. >Length is really quite simple.
  16. >
  17. >1.  Don't attempt to save space with reals.  Real numbers must be
  18. >    (IMEVHO) represented in length 8 variables (default).
  19. >    Shorter variables will lead to difficulties down the line.
  20. >
  21. I don't agree with these statements.
  22. If you use "LENGTH 4" to store all real numbers,
  23. you can store "integer" numbers up to 16,777,215.
  24. (Oops! It won't hold Michael Milliken's salary ($50M) without round-off. :-)
  25.  
  26. If you use "LENGTH 4" under VM/CMS or MVS/XA,
  27. you will be chopping the fractional-part of a floating-point number
  28. after the 24th bit, i.e., introducing round-off errors in the order
  29. of only 1 part in 2**25 (32,554,432).
  30. Rhetorical question: How many researchers have data which is accurate
  31.                      to this many digits?
  32. Rhetorical answer:   If you're the 1-in-a-million who does, use "LENGTH 5".
  33. Second R-question:   How many researchers would spot any difference in any
  34.                      table produced by any statistical procedure in SAS,
  35.                      especially when the numbers in the table are only
  36.                      displayed to 7 decimal digits?
  37. Second R-answer:     Only those researchers with **extreme** numerical
  38.                      instability or auto-correlation in their datasets.
  39.