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: using esttab with mi estimate


From   Caroline Wilson <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: using esttab with mi estimate
Date   Sun, 4 Aug 2013 05:50:02 +0000

Hi all,
I'm trying to export the results of a series of multiple imputation models into a format that I can open in excel. Currently, the esttab command in my code only leads to a table showing the number of observations, not the values of the coefficients and significance levels of the coefficients. 

However, before I added the "mi estimate" to my code, esttab did show the coefficient and significance of the coefficients. I read from a previous posting that you can add ", post" after mi estimate, but I couldn't get it to work in my case. 
I've included my code below.
Any help would be much appreciated!
Caroline

---------------------------------------------------------------------------------
eststo clear

by ps_quintiles, sort: eststo: mi estimate: xtmixed BP_Systolic $PatCharimp $PhysChar || Patient_Key: time_years_incident, variance cov(un) mle

esttab using "H:\Documents\MI.txt", label not replace star(* 0.05 ** 0.01) 		 	   		  
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index