home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / sci / math / 17171 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.8 KB  |  37 lines

  1. Newsgroups: sci.math
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!stanford.edu!rock!concert!sas!mozart.unx.sas.com!sasbmt
  3. From: sasbmt@jjoyce.unx.sas.com (Bruce Tindall)
  4. Subject: Re: Not-a-Number
  5. Originator: sasbmt@jjoyce.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <BzGwEC.ALr@unx.sas.com>
  8. Date: Fri, 18 Dec 1992 18:23:00 GMT
  9. References:  <7ZJ0uB1w165w@west.darkside.com>
  10. Nntp-Posting-Host: jjoyce.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 23
  13.  
  14.  
  15. In article <7ZJ0uB1w165w@west.darkside.com>, susskind@west.darkside.com (Mark Susskind) writes:
  16. >On to the main purpose.  I believe that it would be pointless to assign
  17. >Not-a-Number to a variable because one cannot really do any algebra with
  18. >it.  For a quick example, let x=NaN.  What would be x+1?  What about 2x?
  19. >And 0x would be every real (or complex) number, would it not?
  20.  
  21. Certain software systems, such as the SAS system, recognize several
  22. different "not a number" values (which SAS calls "missing values").  
  23. Usually, any arithmetic operation on a missing value yields a missing 
  24. value.  There are some circumstances in which missing values are 
  25. treated as zero instead.  In sorting and comparisons, missing values 
  26. sort as less than the "most negative" number (i.e., less than the 
  27. negative number with the greatest absolute value).
  28.  
  29. These properties, and the ability to select between them, are useful 
  30. in applications such as survey research (in which you may want to
  31. distinguish among different kinds of missing data, such as "respondent
  32. not home," "refused to answer," "didn't know," "not applicable," etc.)
  33. and statistical analysis.  
  34.  
  35. -- 
  36. Bruce Tindall, Core Testing Mgr., SAS Institute Inc., Cary, N.C. 27513
  37.