I am trying to run a IV regression with fixed effect of Year and Industry. My data is xtset on industry before running the regressions. However, after testing for three different methods ivregress, ivreg and invreg2 - I get different results which I think should not happen. Any advice would be very helpful as I am stuck with this. Thank you in advance
Code:
. ivregress 2sls REM_PROXY_w POST_REG INBD ROA_w Size MTB_x_w LEV_w NOA_X_w (ABS_DA_w = C_PROD_w) i.Year i. > SICCode, robust note: 1995.Year identifies no observations in the sample. note: 1999.Year omitted because of collinearity. note: 2003.Year omitted because of collinearity. Instrumental variables 2SLS regression Number of obs = 1,347 Wald chi2(20) = 208.48 Prob > chi2 = 0.0000 R-squared = 0.1087 Root MSE = .22122 ------------------------------------------------------------------------------ | Robust REM_PROXY_w | Coefficient std. err. z P>|z| [95% conf. interval] -------------+---------------------------------------------------------------- ABS_DA_w | -.3505179 1.17747 -0.30 0.766 -2.658317 1.957282 POST_REG | .0737734 .0259507 2.84 0.004 .0229111 .1246358 INBD | .0139644 .0383945 0.36 0.716 -.0612875 .0892163 ROA_w | -.4788653 .2399727 -2.00 0.046 -.9492032 -.0085274 Size | -.0013434 .0053234 -0.25 0.801 -.011777 .0090902 MTB_x_w | -.0492885 .0144491 -3.41 0.001 -.0776083 -.0209687 LEV_w | .1441121 .0328768 4.38 0.000 .0796749 .2085494 NOA_X_w | .0118403 .005255 2.25 0.024 .0015407 .02214 | Year | 1995 | 0 (empty) 1996 | .0111472 .0237327 0.47 0.639 -.0353681 .0576625 1997 | -.0532041 .058688 -0.91 0.365 -.1682305 .0618222 1998 | -.0195365 .0386865 -0.50 0.614 -.0953608 .0562877 1999 | 0 (omitted) 2000 | -.0694717 .0260511 -2.67 0.008 -.1205309 -.0184126 2001 | -.0572479 .0285827 -2.00 0.045 -.113269 -.0012268 2002 | -.0296003 .049465 -0.60 0.550 -.12655 .0673494 2003 | 0 (omitted) | SICCode | 22 | .0310299 .0257599 1.20 0.228 -.0194586 .0815185 33 | .0243452 .0643089 0.38 0.705 -.1016978 .1503883 44 | .0488511 .0376297 1.30 0.194 -.0249018 .122604 55 | .0098873 .0162591 0.61 0.543 -.0219801 .0417546 66 | -.0155326 .0216523 -0.72 0.473 -.0579703 .026905 77 | .0101794 .0649133 0.16 0.875 -.1170483 .1374071 | _cons | -.0068068 .106281 -0.06 0.949 -.2151137 .2015002 ------------------------------------------------------------------------------ Instrumented: ABS_DA_w Instruments: POST_REG INBD ROA_w Size MTB_x_w LEV_w NOA_X_w 1996.Year 1997.Year 1998.Year 2000.Year 2001.Year 2002.Year 22.SICCode 33.SICCode 44.SICCode 55.SICCode 66.SICCode 77.SICCode C_PROD_w . xtivreg REM_PROXY_w POST_REG INBD ROA_w Size MTB_x_w LEV_w NOA_X_w (ABS_DA_w = C_PROD_w), fe small Fixed-effects (within) IV regression Number of obs = 1,347 Group variable: id Number of groups = 286 R-squared: Obs per group: Within = . min = 1 Between = 0.0011 avg = 4.7 Overall = 0.0006 max = 8 F(294,1053) = 0.05 corr(u_i, Xb) = -0.6195 Prob > F = 0.9999 ------------------------------------------------------------------------------ REM_PROXY_w | Coefficient Std. err. t P>|t| [95% conf. interval] -------------+---------------------------------------------------------------- ABS_DA_w | -23.50012 112.8014 -0.21 0.835 -244.8413 197.841 POST_REG | .1519669 .5973908 0.25 0.799 -1.020245 1.324179 INBD | .2510134 1.457103 0.17 0.863 -2.608143 3.11017 ROA_w | -4.913975 22.30776 -0.22 0.826 -48.6867 38.85875 Size | .3925018 1.766158 0.22 0.824 -3.073088 3.858092 MTB_x_w | .0074161 .1199761 0.06 0.951 -.2280033 .2428355 LEV_w | .5953087 2.840017 0.21 0.834 -4.977428 6.168045 NOA_X_w | -.0264263 .2228178 -0.12 0.906 -.4636436 .410791 _cons | -4.231823 18.53357 -0.23 0.819 -40.59875 32.1351 -------------+---------------------------------------------------------------- sigma_u | 1.4468996 sigma_e | 1.6827241 rho | .42507308 (fraction of variance due to u_i) ------------------------------------------------------------------------------ F test that all u_i=0: F(285,1053) = 0.06 Prob > F = 1.0000 ------------------------------------------------------------------------------ Instrumented: ABS_DA_w Instruments: POST_REG INBD ROA_w Size MTB_x_w LEV_w NOA_X_w C_PROD_w . xi:xtivreg2 REM_PROXY_w POST_REG INBD ROA_w Size MTB_x_w LEV_w NOA_X_w (ABS_DA_w = C_PROD_w) i.Year, fe r > obust endog(ABS_DA_w) i.Year _IYear_1995-2003 (naturally coded; _IYear_1995 omitted) Warning - singleton groups detected. 24 observation(s) not used. Warning - collinearities detected Vars dropped: _IYear_1999 _IYear_2003 FIXED EFFECTS ESTIMATION ------------------------ Number of groups = 262 Obs per group: min = 2 avg = 5.0 max = 8 Warning - collinearities detected Vars dropped: _IYear_1999 _IYear_2003 IV (2SLS) estimation -------------------- Estimates efficient for homoskedasticity only Statistics robust to heteroskedasticity Number of obs = 1323 F( 14, 1047) = 0.00 Prob > F = 1.0000 Total (centered) SS = 21.63923171 Centered R2 = -8.6e+02 Total (uncentered) SS = 21.63923171 Uncentered R2 = -8.6e+02 Residual SS = 18699.71733 Root MSE = 4.198 ------------------------------------------------------------------------------ | Robust REM_PROXY_w | Coefficient std. err. z P>|z| [95% conf. interval] -------------+---------------------------------------------------------------- ABS_DA_w | 60.49753 963.3464 0.06 0.950 -1827.627 1948.622 POST_REG | -.3266171 5.633492 -0.06 0.954 -11.36806 10.71482 INBD | -.6315695 9.362187 -0.07 0.946 -18.98112 17.71798 ROA_w | 9.618423 158.7458 0.06 0.952 -301.5177 320.7545 Size | -.9940734 16.34961 -0.06 0.952 -33.03872 31.05057 MTB_x_w | -.370475 5.658206 -0.07 0.948 -11.46036 10.71941 LEV_w | -.356007 6.121573 -0.06 0.954 -12.35407 11.64206 NOA_X_w | .0460123 .5477467 0.08 0.933 -1.027552 1.119576 _IYear_1996 | -.2439523 3.8278 -0.06 0.949 -7.746302 7.258397 _IYear_1997 | -2.763374 43.07429 -0.06 0.949 -87.18743 81.66068 _IYear_1998 | -1.554118 24.59491 -0.06 0.950 -49.75926 46.65102 _IYear_1999 | 0 (omitted) _IYear_2000 | -.4395395 6.761036 -0.07 0.948 -13.69093 12.81185 _IYear_2001 | -.9103606 14.36654 -0.06 0.949 -29.06827 27.24754 _IYear_2002 | -1.895217 30.04091 -0.06 0.950 -60.77431 56.98388 _IYear_2003 | 0 (omitted) ------------------------------------------------------------------------------ Underidentification test (Kleibergen-Paap rk LM statistic): 0.004 Chi-sq(1) P-val = 0.9498 ------------------------------------------------------------------------------ Weak identification test (Cragg-Donald Wald F statistic): 0.005 (Kleibergen-Paap rk Wald F statistic): 0.004 Stock-Yogo weak ID test critical values: 10% maximal IV size 16.38 15% maximal IV size 8.96 20% maximal IV size 6.66 25% maximal IV size 5.53 Source: Stock-Yogo (2005). Reproduced by permission. NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors. ------------------------------------------------------------------------------ Hansen J statistic (overidentification test of all instruments): 0.000 (equation exactly identified) -endog- option: Endogeneity test of endogenous regressors: 4.792 Chi-sq(1) P-val = 0.0286 Regressors tested: ABS_DA_w ------------------------------------------------------------------------------ Instrumented: ABS_DA_w Included instruments: POST_REG INBD ROA_w Size MTB_x_w LEV_w NOA_X_w _IYear_1996 _IYear_1997 _IYear_1998 _IYear_2000 _IYear_2001 _IYear_2002 Excluded instruments: C_PROD_w Dropped collinear: _IYear_1999 _IYear_2003 ------------------------------------------------------------------------------ .
Comment