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: Estout with multiple discrete choice estimates (w/ example)


From   Carsten Sauer <carsten.sauer@uni-bielefeld.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Estout with multiple discrete choice estimates (w/ example)
Date   Mon, 27 Aug 2012 20:48:03 +0200

Hi Dorothy,

try this example:

sysuse voter, clear
eststo clear
gen clinton=(candidat==2)
eststo: logit clinton inc
eststo: mprobit candidat inc
esttab, eq(1:3) drop(Clinton: Bush:)

Best, Carsten

Am 27.08.2012 17:10, schrieb Dorothy Bridges:
I am having a problem referencing equation numbers in estout.
Specifically, this works:

*This works:
sysuse voter, clear
eststo clear
label drop candidat
eststo: mprobit candidat inc
esttab using "LAPOP/Tables/Voter.tex", b(a2) replace drop(2: 3:)

BUT

*But this produces the error "equation 2 not found"
eststo clear
gen clinton=(candidat==2)
eststo: logit clinton inc
eststo: mprobit candidat inc
esttab using "LAPOP/Tables/Voter2.tex", b(a2) replace drop(2: 3:)

I'm guessing that this has something to do with the fact that I have
to reference est2 in the drop() option, but I can't find any examples
of (or documentation about) this.  Your assistance would be deeply
appreciated.
*
*   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/
*
*   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
SFB 882 "Von Heterogenitäten zu Ungleichheiten"
Teilprojekt A6 "Die Legitimation von Ungleichheiten - Strukturelle Bedingungen von Gerechtigkeitseinstellungen"
Fakultät für Soziologie
Universität Bielefeld
Postfach 10 01 31
33501 Bielefeld
Tel.: 0521 106-70056/-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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index