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]
Re: st: esttab with multiply imputed data
From
carsten sauer <[email protected]>
To
[email protected]
Subject
Re: st: esttab with multiply imputed data
Date
Tue, 18 Oct 2011 19:09:26 +0200
Another way would be to use the cell option from estout:
-------------------------
eststo clear
webuse mheart5, clear
mi set mlong
mi register imputed age bmi
set seed 29390
mi impute mvn age bmi = attack smokes hsgrad female, add(10)
mi estimate: logistic attack smokes age bmi hsgrad female
eststo
esttab, c(b_mi) keep(smokes age bmi hsgrad)
-------------------------
Carsten
Am 18.10.2011 16:31, schrieb Lauren Jones:
Thanks, Carsten.
I see where I was going wrong.
Lauren
On Mon, Oct 17, 2011 at 5:35 PM, Carsten Sauer
<[email protected]> wrote:
Hi,
the coefficients are stored in a matrix.
Try this example:
-----------------
webuse mheart5, clear
mi set mlong
mi register imputed age bmi
set seed 29390
mi impute mvn age bmi = attack smokes hsgrad female, add(10)
mi estimate: logistic attack smokes age bmi hsgrad female
eststo
esttab e(b_mi, tr) using test, keep(smokes age bmi hsgrad) rtf replace
------------------
Carsten
Am 17.10.2011 21:28, schrieb Lauren Jones:
Hello,
I am trying to use esttab to output regression estimates I've made
using multiply imputed data. I'm printing my results to an rtf file.
However, my coefficient estimates will not output in the esttab
command. In fact, if I try to specify a keep statement in the esttab
command, Stata returns that it cannot find any of the coefficients.
Here's the code I'm using.
_eststo clear
_eststo: mi estimate: xtlogit HHCreditCards timecount TimeSq provision2,
re
esttab using "./Results/SecondDraftResults/HHCreditCardsLean.rtf", rtf
margin se(3) b(3) r2(3) star(+ 0.10 * 0.05 ** 0.01) nocons label
title("Random Effects Logit Model) replace keep (timecount TimeSq
provision2)
Thanks for any help!
Lauren
--
Carsten Sauer
Soziale Ungleichheit und Sozialstrukturanalyse
Universität Bielefeld
Fakultät für Soziologie
Postfach 10 01 31
33501 Bielefeld
Tel.: 0521 106-67291/-6948 (Sekr. Frau Fischer)
Fax: 0521 106-6479
*
* 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/
--
Carsten Sauer
Soziale Ungleichheit und Sozialstrukturanalyse
Universität Bielefeld
Fakultät für Soziologie
Postfach 10 01 31
33501 Bielefeld
Tel.: 0521 106-67291/-6948 (Sekr. Frau Fischer)
Fax: 0521 106-6479
*
* 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/