Francesca:
unfortunately, I cannot see any graph!
unfortunately, I cannot see any graph!
xtreg TobinsQ ROA DE LNTA YoYSales i.year, re vce(cluster firmid) xtoverid xtreg TobinsQ ROA DE LNTA YoYSales i.year, fe vce(cluster firmid)
xtreg TobinsQ ROA DE LNTA YoYSales i.Years, re vce(cluster Company1) xtoverid xtreg TobinsQ ROA DE LNTA YoYSales i.Years, fe vce(clus > ter Company1) invalid 'fe' r(198);
. use "http://www.stata-press.com/data/r15/nlswork.dta" (National Longitudinal Survey. Young Women 14-26 years of age in 1968) . quietly xtreg ln_wage age i.race, fe . xtoverid xtoverid not compatible with xtreg model fe r(198); . quietly xi: xtreg ln_wage age i.race, re . xtoverid Test of overidentifying restrictions: fixed vs random effects Cross-section time-series model: xtreg re Sargan-Hansen statistic 14.662 Chi-sq(1) P-value = 0.0001 .
quietly xi: xtreg TobinsQ ROA DE LNTA YoYSales i.Years, re vce(cluster Company1) . xtoverid Test of overidentifying restrictions: fixed vs random effects Cross-section time-series model: xtreg re robust cluster(Company1) Sargan-Hansen statistic 19.674 Chi-sq(4) P-value = 0.0006
xtreg TobinsQ ROA DE LNTA YoYSales i.Years, fe vce(cluster Company1) Fixed-effects (within) regression Number of obs = 1,060 Group variable: Company1 Number of groups = 212 R-sq: Obs per group: within = 0.1759 min = 5 between = 0.0037 avg = 5.0 overall = 0.0080 max = 5 F(8,211) = 11.51 corr(u_i, Xb) = -0.7620 Prob > F = 0.0000 (Std. Err. adjusted for 212 clusters in Company1) ------------------------------------------------------------------------------ | Robust TobinsQ | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- ROA | 1.936935 .5375583 3.60 0.000 .8772617 2.996607 DE | -.2134501 .0699562 -3.05 0.003 -.3513527 -.0755475 LNTA | -1.207298 .2799577 -4.31 0.000 -1.75917 -.6554253 YoYSales | .8969609 .2943407 3.05 0.003 .3167357 1.477186 | Years | 2014 | .1150691 .081846 1.41 0.161 -.0462715 .2764097 2015 | .0570657 .1090352 0.52 0.601 -.1578721 .2720035 2016 | .1695347 .1001073 1.69 0.092 -.0278038 .3668732 2017 | .6175279 .1378719 4.48 0.000 .3457451 .8893106 | _cons | 27.23429 5.761046 4.73 0.000 15.87771 38.59087 -------------+---------------------------------------------------------------- sigma_u | 2.9082317 sigma_e | 1.0554605 rho | .88361688 (fraction of variance due to u_i) ------------------------------------------------------------------------------ . . . testparm(i.Years) ( 1) 2014.Years = 0 ( 2) 2015.Years = 0 ( 3) 2016.Years = 0 ( 4) 2017.Years = 0 F( 4, 211) = 10.41 Prob > F = 0.0000 .
xtreg TobinsQ ROA DE LNTA YoYSales RDCS, fe Fixed-effects (within) regression Number of obs = 1,060 Group variable: Company1 Number of groups = 212 R-sq: Obs per group: within = 0.1456 min = 5 between = 0.0041 avg = 5.0 overall = 0.0083 max = 5 F(5,843) = 28.73 corr(u_i, Xb) = -0.6989 Prob > F = 0.0000 ------------------------------------------------------------------------------ TobinsQ | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- ROA | 1.488559 .4294244 3.47 0.001 .6456922 2.331425 DE | -.1817562 .0676505 -2.69 0.007 -.3145394 -.048973 LNTA | -1.015895 .1177476 -8.63 0.000 -1.247008 -.7847824 YoYSales | .8005307 .1497289 5.35 0.000 .5066454 1.094416 RDCS | -.5583195 .198884 -2.81 0.005 -.9486854 -.1679536 _cons | 23.90587 2.478005 9.65 0.000 19.04209 28.76966 -------------+---------------------------------------------------------------- sigma_u | 2.620492 sigma_e | 1.0727754 rho | .85646395 (fraction of variance due to u_i) ------------------------------------------------------------------------------ F test that all u_i=0: F(211, 843) = 13.77 Prob > F = 0.0000 . . estat vce, corr Correlation matrix of coefficients of xtreg model e(V) | ROA DE LNTA YoYSales RDCS _cons -------------+------------------------------------------------------------ ROA | 1.0000 DE | 0.1280 1.0000 LNTA | -0.0210 -0.2125 1.0000 YoYSales | -0.0635 -0.0338 -0.0491 1.0000 RDCS | 0.1805 -0.0482 0.2550 0.2306 1.0000 _cons | 0.0066 0.1970 -0.9977 0.0266 -0.3171 1.0000 . . . vif, unc Variable | VIF 1/VIF -------------+---------------------- LNTA | 4.41 0.226612 RDCS | 3.39 0.295221 DE | 1.53 0.651736 ROA | 1.24 0.809279 YoYSales | 1.22 0.816649 -------------+---------------------- Mean VIF | 2.36
Comment