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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: MI: Multiple Imputation


From   Shikha Sinha <shikha.sinha414@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: MI: Multiple Imputation
Date   Mon, 20 Dec 2010 13:31:03 -0500

Hi,

I am using -mi for imputing the missing values. The variable is "edu"
has five categories (1=primary, 2=secondary, and so on...). I used the
following command:

mi register imputed edu
mi register regular age gender country
set seed 23456
mi impute mvn edu = i.gender age country, add (5)
mi estimate, or: logistic Y X1 X2 edu

After imputation, five new variables are generated, such as , _1_edu,
_2_edu, _3_edu, .......

Now, I have following questions:

(a) Why some observations have negative values for  _1_edu, _2_edu,
_3_edu, ........ Negative values for education doesnot make sense. How
to restrict this so that there is no negative values.

(b) How do we use the five new generated variable? Can I just run

logistic Y X1 X2 _1_edu

or

logistic Y X1 X2 _2_edu

(c) Can I create a dummy for primary or secondary schooling from the
imputed values _1_edu?

Thanks,
Shikha
*
*   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