Bookmark and Share

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: micombine


From   Elisabetta Petracci <[email protected]>
To   [email protected]
Subject   st: micombine
Date   Tue, 11 Jan 2011 11:11:39 -0500

Dear all,

*I am using Stata 11 and referring to the paper published on Stata
Journal "Multiple imputation of missing values" by Royston (2004).
*Following the logic of the reported example, I need to impute missing
values for dichothomous varaibles and then to run  a quantile
*regression on the complete datasets, considering m=5 copies of the
dataset.

*These are my 8 varaibles with missing values.

mvis cometivedi1_new cometivedi2_new cometivedi3_new cometivedi4_new
cometivedi5_new cometivedi6_new cometivedi7_new cometivedi8_new using
trial, m(5) genmiss(m_) seed(1981)

use trial,clear

micombine qreg quantobuonasalute cometivedi1_new, quantile(.5)

*"micombine" should work with command "qreg" but I get the following
error message: "imputation identifier _mj not found"

*Why does this happen? Any suggestion to impute missing values using a
Multiple Imputation technique able to run a quantile *regression
afterward?

Thank you very much,

Elisabetta
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index