Statalist


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

st: AW: help on outreg2


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: help on outreg2
Date   Mon, 26 Oct 2009 13:06:03 +0100

<> 

Works for me with the following code:


*************
use  /* 
*/ http://fmwww.bc.edu/ec-p/data/hayashi/griliches76.dta,  /* 
*/ clear
xi i.year
ivreg2 lw s expr tenure rns smsa _I* /* 
*/  (iq=med kww age mrt), gmm

outreg2  using  ///
finalres, excel nolabel bdec(2) ti(GMM Regression Results with Country  ///
Dummies) addstat (Cragg-Donald Stat., e(cdf), P-value Hansen test, e(jp))
///
stats(aster coef se) replace
*************

and



. which ivreg2
c:\ado\plus\i\ivreg2.ado
*! ivreg2 2.2.09  17jul2008
*! authors cfb & mes
*! see end of file for version comments

. which outreg2
c:\ado\plus\o\outreg2.ado
*! outreg2 2.1.3 21oct2009 by roywada@hotmail.com
*! based on outreg 3.0.6/4.0.0 by john_gallup@alum.swarthmore.edu


HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von
ne500@york.ac.uk
Gesendet: Montag, 26. Oktober 2009 02:02
An: statalist@hsphsun2.harvard.edu
Betreff: st: help on outreg2

Hi, When I run the following regression, for some reason outreg2 doesn't 
report e(cdf) and e(jp)? They appear as text in the output (e.g. e(cdf) and 
e(jp), cdf and jp are not replaced by the statistics). This code used to 
work with outreg which was replaced by outreg2 later. Please help Thanks 
nese

xi: ivreg2 dlgovcons (dlrgdp =dlimpdem) $cdum, gmm outreg2 dlrgdp using 
finalres, excel nolabel bdec(2) ti(GMM Regression Results with Country 
Dummies) addstat (Cragg-Donald Stat., e(cdf), P-value Hansen test, e(jp)) 
stats(aster coef se) replace


*
*   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   |   What's new   |   Site index