Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: -gmm- and -outreg2-


From   Scott Merryman <[email protected]>
To   [email protected]
Subject   Re: st: -gmm- and -outreg2-
Date   Wed, 15 Aug 2012 12:38:28 -0500

Perhaps I am not following, but in the first example -outreg2- (-ssc
desc outreg2-)  is outputting the results from -gmm- and the in second
example it is outputting the results from -ivreg2- (-ssc desc
ivreg2-).  Given that there are 17 equations in the gmm estimated
model and -outreg2-, by default, outputs each equation in a separate
column makes the display different than the output from -ivreg2-.
Perhaps you want -onecol- option on -outreg2-?

Scott


On Wed, Aug 15, 2012 at 9:54 AM, Joseph Monte <[email protected]> wrote:
> Richard,
>
> Here is an example:-
>
> use http://fmwww.bc.edu/ec-p/data/wooldridge/card, clear
> loc x "exper* smsa* south mar black reg662-reg669"
> ivpois wage `x', endog(educ) exog(nearc2 nearc4)
> gmm (wage*exp(-{xb:`x' educ}-{b0})-1), inst(`x' nearc2 nearc4)
> outreg2 using myfile, replace excel
>
> Is this how it is supposed to display? This output display is
> different from the one below.
>
> use http://fmwww.bc.edu/ec-p/data/wooldridge/card, clear
> loc x "exper* smsa* south mar black reg662-reg669"
> ivpois wage `x', endog(educ) exog(nearc2 nearc4)
> gmm (wage*exp(-{xb:`x' educ}-{b0})-1), inst(`x' nearc2 nearc4)
> estat overid
> ivreg2 lw `x' (educ=nearc2 nearc4)
> outreg2 using myfile, replace excel
>
> Thanks,
>
> Joe
>
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index