home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- 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
- From: sasbmt@jjoyce.unx.sas.com (Bruce Tindall)
- Subject: Re: Not-a-Number
- Originator: sasbmt@jjoyce.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <BzGwEC.ALr@unx.sas.com>
- Date: Fri, 18 Dec 1992 18:23:00 GMT
- References: <7ZJ0uB1w165w@west.darkside.com>
- Nntp-Posting-Host: jjoyce.unx.sas.com
- Organization: SAS Institute Inc.
- Lines: 23
-
-
- In article <7ZJ0uB1w165w@west.darkside.com>, susskind@west.darkside.com (Mark Susskind) writes:
- >On to the main purpose. I believe that it would be pointless to assign
- >Not-a-Number to a variable because one cannot really do any algebra with
- >it. For a quick example, let x=NaN. What would be x+1? What about 2x?
- >And 0x would be every real (or complex) number, would it not?
-
- Certain software systems, such as the SAS system, recognize several
- different "not a number" values (which SAS calls "missing values").
- Usually, any arithmetic operation on a missing value yields a missing
- value. There are some circumstances in which missing values are
- treated as zero instead. In sorting and comparisons, missing values
- sort as less than the "most negative" number (i.e., less than the
- negative number with the greatest absolute value).
-
- These properties, and the ability to select between them, are useful
- in applications such as survey research (in which you may want to
- distinguish among different kinds of missing data, such as "respondent
- not home," "refused to answer," "didn't know," "not applicable," etc.)
- and statistical analysis.
-
- --
- Bruce Tindall, Core Testing Mgr., SAS Institute Inc., Cary, N.C. 27513
-