Statalist


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

st: Update to -estout- available from SSC


From   Ben Jann <[email protected]>
To   statalist <[email protected]>
Subject   st: Update to -estout- available from SSC
Date   Wed, 14 Oct 2009 00:26:52 +0200

Thanks to Kit Baum, an update to the -estout- package is available
from SSC. -estout- provides tools for displaying and exporting results
tables. To install the update, type

 . ssc install estout, replace

or use the -adoupdate- command.

Changes:

1. Two new tools for dealing with results from -margins- in Stata 11
have been added: -estadd margins- and -estpost margins-

-estadd margins- adds the results from -margins- the current
estimation set so that they can be tabulated along with the model's
original results. All returns from margins are added to the existing
e()'s using "margins_" as a prefix (or a user-defined prefix). For
example, to print raw coefficients and marginal effects next to each
other type

 . <fit model>
 . estadd margins, dydx(*)
 . estout, cells("b margins_b")

or with SEs underneath

 . estout, cells("b margins_b" "se(par) margins_se(par)")


-estpost margins- post the results from margins as a new estimation
set, i.e. places margins' results in e(b) and e(V), but also perserves
the scalars etc. from the original model). Example:

 . <fit model>
 . eststo raw
 . estpost margins
 . eststo margins
 . estout raw margins, cells(b se(par))

2. -estadd listcoef- no longer has the -adapt- option which was used
in the context of -mlogit- or -mprobit- to add results for all
requested contrasts. -estadd listcoef-  now automatically adds the
results for all requested contrasts.

3. -estpost svy: tab- returned population observation numbers in
e(obs) instead of subpopulation observation numbers if -subpop()- was
specified. This is fixed.

ben
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index