Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: mi impute chained troubleshooting
From
Jacob McDermott <[email protected]>
To
[email protected]
Subject
st: mi impute chained troubleshooting
Date
Tue, 16 Jul 2013 14:59:48 -0500
Hello Statalist,
The following mi impute chained command (unsurprisingly) returns an error
mi impute chained (ologit) educacion (regress) height hba1c_all
glucose_all hdl_all ldl_all triglyc_all crp_all tc_all (logit) obesidad
tension corazon diabetes smoke1 exercise1, add(5) by(female)
The issue rising from collinearity due to the inclusion of tc(total
cholesterol) along with ldl and hdl (major components of total cholesterol)
Note: tc_all ldl_all and hdl_all are continuous variables with roughly
10% missing values
If I remove tc_all from the imputation command (or if I remove either
ldl or hdl) everything runs just fine, but I do not get imputed values
for tc_all.
Is there anything I can do to get imputed values for tc_all?
What I have been trying is running the above imputation command twice
(once excluding tc_all and again excluding ldl_all), and then merging in
tc_all imputed values from the second run into the first imputed
dataset. My only real justification for this is that ldl and tc are
highly correlated and the resulting imputed datasets appear to be very
similar . Do you think this procedure is at all legitimate? Do you know
of any alternatives?
Thanks for your help,
Jacob
*
* 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/