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]

st: estout and multiply imputed data


From   Beth Gifford <beth.gifford@duke.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: estout and multiply imputed data
Date   Tue, 21 Sep 2010 15:44:33 -0400

Hello
I am trying to use estout following several regressions from a
multiply imputed dataset (I'm using mi estimate).  My first attempt
failed because the results that I stored from estout did not have e(b)
and e(V) in the ereturn list.  So I attempted to use estadd but it
won't let me add e(b)--it seems to be reserved.  So I am wondering if
anyone has found a work around for this.

Here is an example of what I've tried
mi estimate: xtreg  dep_exp_agg $covar2  site2 site3 site4,
i(schl_id2) vce(robust)
matrix b2=e(b_mi)
estadd matrix b=b2 // this fails
estadd matrix c=b2 // this works
estimates store estdep_exp_agg

*Running estout if I had stored  my estimates prior to the estadd
commands would give the following error message "estimation results do
not have e(b) and e(V)"--so it seems that I can't even start estout
running if I don't have e(b) and e(V) in as matrices in ereturn.
Anyway, I thought someone might have a solution.

Sincerely
Beth

*I am using stata 11 on a windows machine.
Information on estout:
package st0085_1 from http://www.stata-journal.com/software/sj7-2
--------------------------------------------------------------------------------------------------------------------
TITLE
      SJ7-2 st0085_1.  Update: Making regression tables simplified
DESCRIPTION/AUTHOR(S)
      Update:  Making regression tables simplified
      by Ben Jann, ETH Zurich
      Support:  jann@soz.gess.ethz.ch
      After installation, type help estout, esttab, eststo, and estadd





--
Elizabeth Gifford, PhD
Research Scientist
Center for Child and Family Policy
Duke University
214 Rubenstein Hall
Box 90545
Durham NC, 27708-0545
Work Phone: 919-613-9294
Fax: 919- 684-3731
http://www.duke.edu/~ejg141/
Check out my new creation:
http://substanceabuse.ssri.duke.edu/




-- 
Elizabeth Gifford, PhD
Research Scientist
Center for Child and Family Policy
Duke University
214 Rubenstein Hall
Box 90545
Durham NC, 27708-0545
Work Phone: 919-613-9294
Fax: 919- 684-3731
http://www.duke.edu/~ejg141/
Check out my new creation:
http://substanceabuse.ssri.duke.edu/

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