Chris,
-estout- fully supports -mfx-. Example:
. sysuse auto
. probit foreign mpg weight
. mfx
. estout , cells("b p") margin style(fixed)
The 'margin' option causes -estout- to tabulate the marginal effects
instead of the raw coefficients. Statistics such as p-values and
confidence intervalls will also be based on the mfx-results.
Be sure to save the estimates *after* applying -mfx- if several
estimates be tabulated, e.g.
. probit foreign mpg
. mfx
. est store m1
. probit foreign mpg weight
. mfx
. est store m2
. estout m1 m2, cells("b p") margin style(fixed)
Note: An alternative to specifying the 'margin' option is to
directly tabulate the information added by -mfx-. The command
below, for example, tabulates the raw probit coefficients and
the marginal effects:
. estout , cells("b Xmfx_dydx") style(fixed)
The -margin- command by Tamas Bartus can also be easily used with
-estout-. Use margin's 'replace' option to save the marginal
effects as regular estimates and the tabulate them:
. probit foreign mpg weight
. margin , replace
. estout , cells("b p") style(fixed)
Alternatively, if the raw coefficients be preserved, omit the
'replace' option and, for example, type:
. probit foreign mpg weight
. margin
. estout , cells("b margin_b") style(fixed)
ben
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Chris Meissner
> Sent: Tuesday, April 19, 2005 7:27 PM
> To: [email protected]
> Subject: st: Outreg/estout after mfx or margin?
>
>
> I am running some simple probit models and I have found it
> useful to use
> the margin command after estimation to get the marginal
> effects I want.
>
> The only problem is that my old standby "outreg" doesn't seem
> to be set up
> to drop the reported results into a nice formatted text file
> ready to be
> made into a table.
>
> As far as I can tell I don't think estout is usable after
> margin or mfx
> either.
>
> I would be very grateful to know if there is an option in
> either outreg or
> estout to report the results from margin and for that matter mfx.
>
> Alternatively is there another command available to do such a thing?
>
> Thanks in advance!
>
> Chris Meissner
> Faculty of Economics
> University of Cambridge
>
>
>
>
>
>
>
>
>
> *
> * 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/