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

RE: st: egen


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: egen
Date   Fri, 31 Jan 2003 18:23:40 -0000

Sayer, Bryan
> 
> 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.

Quite right. The fuller story includes 

	!missing(x) 

and in Stata 8 

	!mi(x)

I like 

	< . 

partly as a keystroke saver, but it is only 
correct for numeric comparisons. 

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/