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]

Re: st: How do I drop incomplete observations after running multiple imputation?


From   "JVerkuilen (Gmail)" <jvverkuilen@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How do I drop incomplete observations after running multiple imputation?
Date   Wed, 7 Nov 2012 14:32:04 -0500

On Wed, Nov 7, 2012 at 2:22 PM, Wilson, Kimberly J
<Kimberly.J.Wilson@uth.tmc.edu> wrote:

>  I somehow need to drop the observations from the imputed data that still contain missing data so that my sample is constant across the models.  Without doing so, I have 1,854 obs in the first two models, 1841 in the third, and 1835 in the fourth.  I want the sample to be 1835 across all four models.
>
> To drop the observations with missing values in the imputed data, I have tried various iterations of the following:

If it's only a few cases you want to drop, why don't you simply make a
dummy variable with those cases and drop based on that? Simple and
brute force, but it works. You can also simply use if to make for a
consistent sample without dropping those cases completely.

Jay

*
*   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