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: Re:using a flag variable for missing values in a regression


From   Frank D Lopresti <fl2@nyu.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re:using a flag variable for missing values in a regression
Date   Wed, 27 Mar 2013 09:28:14 -0400

I a working with a student who's prof said in a memo "Note: when
creating new variables, missing values should be coded as some
arbitrary numerical value (e.g., 0) so that cases aren’t dropped in
the regression . You can also generate a missing flag for each
variable, coded 1 for missing and 0 otherwise, and then include the
flags in tandem with the variables for unbiased estimates."  Is this a
valid method for dealing with missing data  I've missed?

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index