Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: matrix colum names vs estout


From   "Jann Ben" <ben.jann@soz.gess.ethz.ch>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: matrix colum names vs estout
Date   Wed, 19 Oct 2005 14:50:56 +0200

Hans, 
-estout- will save the marginal effects if the -margin- 
option is specified. It is important however, that the
model ist stored *after* applying -mfx-. Example:

. sysuse auto, clear
. logit foreign weight
. est sto raw
. mfx
. est sto mfx
. estout raw mfx, margin sty(fixed)

                      raw          mfx
                        b            b
weight          -.0025874    -.0003786
_cons            6.282599             

ben

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of 
> Hans J. Baumgartner
> Sent: Wednesday, October 19, 2005 2:25 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: matrix colum names vs estout
> 
> 
> Dear statalist,
> 
> most estimation commands store the coefficients in e(b). 
> Hence ?matrix 
> list e(b)- shows the respective variables to the coefficient 
> in the column 
> name of the matrix. Is there any chance to save these column names?
> 
> The reason, why I am attempting to do so is that I would like 
> to save the 
> mfx output after an mlogit in a spreadsheet table. So far I 
> used estout 
> but this does not store the marginal effect but the ?raw? 
> coefficients. 
> 
> Any suggestions to solve this?
> 
> Thanks in advance
> Hans
> 
> 
> 
> 
> 
> ++++++++++++++++++++++++++++++++
> Hans J. Baumgartner
> Dept. Public Economics
> DIW Berlin
> German Institut for Economic Research
> phone: +49/30/89789-307
> fax :      +49/30/89789-114
> URL: www.diw.de
>           www.hansbaumgartner.de
> ++++++++++++++++++++++++++++++++
> 
> *
> *   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/
> 

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