Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: A modest proposal - missing data doesn't count


From   "Allan Reese (Cefas)" <allan.reese@cefas.co.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: A modest proposal - missing data doesn't count
Date   Mon, 14 Jun 2010 17:52:26 +0100

Feeling aggrieved at years of typing expressions like "if x>10 & x<.",
and feeling sure there must be lots of wrong results from Stata because
users didn't notice that "x>10" includes cases with the missing value,
might I request a new code function?  

The name value() is available. While users would have to remember to use
it, it would quickly become a habit to type "if value(x)>10" etc, with
the effect that the expression would evaluate as true only when x had a
non-missing value.  A check box could be added to the menu interface as
a reminder.    

Allan

PS Not one response to my question on use of glm v blogit v glogit
(Statalist 26 May).  Does *anyone* have a view?


***********************************************************************************
This email and any attachments are intended for the named recipient only.  Its unauthorised use, distribution, disclosure, storage or copying is not permitted.  If you have received it in error, please destroy all copies and notify the sender.  In messages of a non-business nature, the views and opinions expressed are the author's own and do not necessarily reflect those of the organisation from which it is sent.  All emails may be subject to monitoring.
***********************************************************************************


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index