Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Excluding missing values


From   Richard Goldstein <richgold@ix.netcom.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Excluding missing values
Date   Wed, 02 Apr 2008 08:13:18 -0400

Stata allows up to 27 missing value codes (.a, .b, etc., as well as .); the other 26 are considered to be "higher" than .; so your second choice (!=.) would eliminate missing when coded as . but not when coded as .a, etc.

Rich

Tunga Kantarci wrote:

To exclude missing values, stata help indiactes one should use
<.

However,
!=.

also works.

In which situation the second command would be faulty?
*
*   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