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

From |
"Jann, Ben" <ben.jann@soz.gess.ethz.ch> |

To |
<statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: Outreg/estout after mfx or margin? |

Date |
Tue, 19 Apr 2005 21:41:27 +0200 |

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: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of > Chris Meissner > Sent: Tuesday, April 19, 2005 7:27 PM > To: statalist@hsphsun2.harvard.edu > 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/

- Prev by Date:
**Re: st: Adding counts to an eclplot bar graph [solved]** - Next by Date:
**st: robust estimators and auotcorrelation** - Previous by thread:
**st: Re: Outreg/estout after mfx or margin?** - Next by thread:
**st: RE: cdsimeq - two stage probit least squares** - Index(es):

© Copyright 1996–2016 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |