Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Update to -estout- available from SSC


From   "Ben Jann" <ben.jann@gmail.com>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Update to -estout- available from SSC
Date   Thu, 9 Aug 2007 02:01:31 +0200

Thanks to Kit Baum, an update to the -estout- package is available
from the SSC Archive.

To install the update, type

 . ssc install estout, replace

or use the -adoupdate- command.

It is now possible in -estout- or -esttab- to tabulate string macros
contained in the e()-returns of the estimation commands. Example:

. sysuse auto
(1978 Automobile Data)

. eststo: quietly regress price weight
(est1 stored)

. eststo: quietly regress price weight, robust
(est2 stored)

. eststo: quietly regress price weight, vce(bootstrap)
(est3 stored)

. esttab, scalar(vce)

------------------------------------------------------------
                      (1)             (2)             (3)
                    price           price           price
------------------------------------------------------------
weight              2.044***        2.044***        2.044***
                   (5.42)          (5.24)          (5.99)

_cons              -6.707          -6.707          -6.707
                  (-0.01)         (-0.01)         (-0.01)
------------------------------------------------------------
N                      74              74              74
vce                   ols          robust       bootstrap
------------------------------------------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001

. estout, cells(b se(par)) stats(N vce) style(smcl)

---------------------------------------------------
                     est1         est2         est3
                     b/se         b/se         b/se
---------------------------------------------------
weight           2.044063     2.044063     2.044063
               (.3768341)   (.3897465)   (.3414949)
_cons           -6.707353    -6.707353    -6.707353
                (1174.43)   (1032.394)   (885.7397)
---------------------------------------------------
N                      74           74           74
vce                   ols       robust    bootstrap
---------------------------------------------------

I will give a talk on -estout- at the NASUG in Boston on Thursday,
August 14 (see http://www.stata.com/meeting/6nasug/). Hope to see some
of you there.

ben
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index