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]

Re: st: how to put both coefficient and exponentiated form in a table using estout or similar command


From   Carsten Sauer <carsten.sauer@uni-bielefeld.de>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how to put both coefficient and exponentiated form in a table using estout or similar command
Date   Sun, 09 Oct 2011 09:19:34 +0200

Hi Helen,

you could use the estadd command additionally (it is part of the estout package).

Example:
sysuse auto
nbreg rep78 price mpg
estadd expb
estout, cells(b(star fmt(2)) se(par fmt(2)) expb) drop(lnalpha:) stats(N ll chi2, fmt(%8.0f %8.2f))

Best, Carsten


Am 08.10.2011 22:39, schrieb Heekyung "Hellen" Kim:
Hi, I want to use -estout (or anything like that) to have a result table.

I am using xtnbreg or nbreg.  I want to put both coefficient and
exponentiated form in ONE table.

I can do one of each using estout without eform for the first and estout
with eform option for expoentiated form.

Is there any way to show both in one table ?

estout, cells(b(star fmt(2)) se(par fmt(2))) drop(_I* o._I*) stats(N ll
chi2, fmt(%8.2f))
estout, cells(b(star fmt(2)) se(par fmt(2))) drop(_I* o._I*) stats(N ll
chi2, fmt(%8.2f)) eform

I used the above two line to have SEPARATE tables.  I wish to have one table
containing both.

-Helen

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


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