I find the missing() function to be better in general when it can be used,
which should evaluate ANY type of missing, including blanks for string
variables.
Bryan Sayer
Statistician, SSS Inc.
[email protected]
-----Original Message-----
From: Nick Cox [mailto:[email protected]]
Sent: Friday, January 31, 2003 12:50 PM
To: [email protected]
Subject: RE: st: egen
<snip>
> replace SS2 = 3 if SS1 ==. & (CIVIL==1 & CIVILSUM==1 &
> Dependants2 != .)
The habit of writing
!= .
is going to become dangerous as you move to Stata 8
and make use of missing values .a to .z. The habit
to learn for not missing is
< .
Nick
[email protected]
*
* 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/
*
* 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/