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.
bsayer@s-3.com
-----Original Message-----
From: Nick Cox [mailto:n.j.cox@durham.ac.uk]
Sent: Friday, January 31, 2003 12:50 PM
To: statalist@hsphsun2.harvard.edu
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
n.j.cox@durham.ac.uk
*
* 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/