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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: regression table after logit and margins


From   John Luke Gallup <jlgallup@pdx.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: regression table after logit and margins
Date   Wed, 17 Aug 2011 13:24:12 -0700

Darjusch,

You can do this with -outreg- (-ssc install outreg, replace-) as follows:

sysuse auto, clear
logit foreign mpg weight
margins, dydx(*)
outreg, marginal

I am not sure if -outreg2- has been updated for the -margins- command.

John

On Aug 17, 2011, at 9:04 AM, D-Ta wrote:

> Dear List-Users
> 
> i am running a standard logit regression. After that I run -margins- as margins, dydx(*) to get the mean marginal effects. I would like to use -outreg2- thereafter to get the marginal effects into a nice table, however, -outreg2- would only produce an output table based on the logit coefficients.
> 
> I tried both:
> outreg2 using xxx: margins,dydx(*)
> 
> 
> as well as
> 
> margins,dydx(*)
> outreg2 using xxx
> 
> Is there any other way to get the -margins- results directly in a publication-type table?
> 
> Thanks
> 
> Darjusch
> *
> *   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/
> 


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