Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: How to use -outreg2 for the marginal effects results from-estat mfx-


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: How to use -outreg2 for the marginal effects results from-estat mfx-
Date   Thu, 22 Sep 2011 19:03:30 +0100

-outreg2- is user-written software (SSC), as you are asked to explain.

It has many users but few answer questions on it. If you don't get a
good answer from the list, it would be a good idea to email the author
directly, as he is not a member of Statalist.

I have never used -outreg2-, so can't help.

Nick

On Thu, Sep 22, 2011 at 6:52 PM,  <bo@macinnis.org> wrote:

> The program -outreg2- has worked like a charm with regression
> coefficients and marginal effects that are calculated by -mfx-.
>
> However, -outreg2- appears to not take the results that calculated by
> -estat mfx- when I used the same syntax as for results from -mfx-; e.g.
> outreg2 using "C:\Myresults", mfx excel after I ran -estat mfx-
> following the estimation by -aslogit-, it gave the error message "matrix
> e(Xmfx_dydx) not found; need to run mfx first".
>
> This is probably expected because -mfx- saves the results in e-return
> class, while -estat mfx- saves the results in r-return class.
>
> I tried to use the subcommand addstat() to -outreg2-, but I am not sure
> exactly how to use it.
>
> I would very much appreciate any experts would provide any tips on how
> to output the marginal effects results from -estat mfx- into an
> Excel/Word like -outreg2- does it so beautifully.
>
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index