Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: Missing values [was: RE: st: simple question]


From   Joseph Coveney <jcoveney@bigplanet.com>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   Re: Missing values [was: RE: st: simple question]
Date   Sun, 06 Jun 2004 11:37:52 +0900

I wrote:

>From the postings on the SAS listserver this week (see below), it seems that 
>SAS does behave as Richard wishes Stata to. 

Whoops!  Apparently not.  (SAS codes missing values as the smallest possible 
value, while Stata codes them as the largest.)

Perhaps, for consistency, Stata ought to include missing categories in  
-tabulate- by default . . .

Joseph Coveney

--------------------------------------------------------------------------------

From: Peter Flom (flom@NDRI.ORG)
Subject: Re: Suggestions made at SUGI 
Newsgroups: comp.soft-sys.sas
Date: 2004-06-04 06:20:26 PST 
 
Since we're talking about missiing values, one thing that irritates me
is that of missings being INCLUDED by accident when one does something
like

if AGE < 21 then CHILD = 1; else CHILD = 0;


I was seriously burned once by this, and have (embarassingly) made the
same mistake again, although I caught it......

So, SAS seems to think that a categorical variable which has no
response should be thrown away, but that a numeric one should be
included......

and it doesn't think we need warnings about any of this.....

Peter


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index