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 at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: esttab with multiply imputed data


From   Lauren Jones <lej39@cornell.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: esttab with multiply imputed data
Date   Tue, 18 Oct 2011 10:31:01 -0400

Thanks, Carsten.
I see where I was going wrong.

Lauren

On Mon, Oct 17, 2011 at 5:35 PM, Carsten Sauer
<carsten.sauer@uni-bielefeld.de> 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/
>



-- 
Lauren Jones, MS
Doctoral Student
Policy Analysis and Management
Cornell University

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