Statalist


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

Re: st: -estout-, -mfx- and column headings


From   "Ben Jann" <[email protected]>
To   [email protected]
Subject   Re: st: -estout-, -mfx- and column headings
Date   Thu, 19 Jun 2008 11:35:58 +0200

Herve,
in the second model refer directly to the e() matrix holding the
marginal effects instead of "b". Example:

sysuse auto, clear
logit foreign price mpg
est sto raw
mfx
est sto mfx

estout raw mfx, cell("b(pat(1 0)) Xmfx_dydx(pat(0 1)) t(pat(0 1))") margin

estout raw mfx, cell("b(pat(1 0) lab(coef)) Xmfx_dydx(pat(0 1)
lab(dydx)) t(pat(0 1))") margin

ben


On Thu, Jun 19, 2008 at 7:57 AM, Herve STOLOWY <[email protected]> wrote:
> Dear Statalisters:
>
> I use -estout- (downloadable from ssc) after mfx. Here are my command lines.
>
> xi: logit ar_english size2 int_sales listing concent roa_if_cumul_w  growth_op3 leverage_if tongue_importance3_bis_sqrt ln_mktcap_wb if year==2003 & leverage_if<1.5 & growth_op3<7, robust
>
> estimates store raw, title(Basic model - 2003)
>
> mfx
>
> estimates store mfx, title(Marginal effects)
>
> estout raw mfx using Table7_mfx, replace cells ("b(fmt(%9.3f) label(Coefficients)) t(pattern(0 1) fmt(%9.3f) label(z)) p(pattern(0 1) fmt(%9.3f)) Xmfx_X(pattern(0 1))") margin legend label  varlabels(_cons Constant) type
>
> As you can see from the estout line, I get the coefficients b for the raw model, and the coefficients b, z, p-value and X for the marginal effects. I am fully satisfied with the content of the output. However, there is a minor detail which I would like to improve. For the raw model, the unique column is entitled "coefficients" and this is fine. However, for the marginal effects, I would prefer to entitle the first column (second column in the output) "dy/dx" rather than "coefficients". Is it possible with the estout syntax?
>
> I provide below the output, but I am not sure it is readable.
>
>        Basic model - 2003      Marginal effects
>        Coefficients    Coefficients    z       p       Xmfx_X
> Size    0.514   0.108   13.428  0       5.567
> International sales     0.958   0.201   5.99    0       0.392
> English cross listing (d)       1.343   0.217   6.028   0       0.109
> Ownership concentration -1.347  -0.283  -6.179  0       0.515
> Return  -2.194  -0.461  -3.886  0       0.004
> Growth opportunities    0.581   0.122   6.097   0       1.381
> Leverage        -2.291  -0.481  -7.969  0       0.571
> Language internationality       -0.197  -0.041  -8.421  0       2.37
> Market size     -0.151  -0.032  -3.194  0.001   26.854
> Constant        3.183
> (d) for discrete change of dummy variable from 0 to 1
>
> Best regards
>
> Herve Stolowy
>
>
> ***********************************************************
> Professeur/Professor
> President of the French Accounting Association (AFC)
> HEC Paris
> Departement Comptabilite Controle de gestion / Dept of Accounting and Management Control
> 1, rue de la Liberation
> 78351 - Jouy-en-Josas
> France
> Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
> mail: stolowy at hec dot fr
> web: http://www.hec.fr/stolowy
>
>
> *
> *   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index