I run this model (I know it is not significant whatsoever)
I want to test for random or fixed effects by using -xtoverid- (because I cannot use the hausman test due to pre-testing) but I am getting a strange error and cannot find anything about it online.
Code:
local controls "fs ihs_lev itq rdi growth cap_exp" xtreg ln_tq cvcie1 `controls' i.fyear, re vce(cluster gvkey) xtoverid
Code:
. local controls "fs ihs_lev itq rdi growth cap_exp" . xtreg ln_tq cvcie1 `controls' i.fyear, re vce(cluster gvkey) Random-effects GLS regression Number of obs = 353 Group variable: gvkey Number of groups = 34 R-squared: Obs per group: Within = 0.4495 min = 2 Between = 0.7981 avg = 10.4 Overall = 0.7672 max = 11 Wald chi2(17) = 213.32 corr(u_i, X) = 0 (assumed) Prob > chi2 = 0.0000 (Std. err. adjusted for 34 clusters in gvkey) ------------------------------------------------------------------------------ | Robust ln_tq | Coefficient std. err. z P>|z| [95% conf. interval] -------------+---------------------------------------------------------------- cvcie1 | 5.52e-11 8.34e-10 0.07 0.947 -1.58e-09 1.69e-09 fs | -.1613904 .0365898 -4.41 0.000 -.2331051 -.0896756 ihs_lev | .0580024 .0411137 1.41 0.158 -.0225791 .1385838 itq | .3398229 .0558942 6.08 0.000 .2302723 .4493734 rdi | 1.036217 .773744 1.34 0.180 -.4802935 2.552727 growth | .1198598 .0817974 1.47 0.143 -.0404601 .2801797 cap_exp | .5984217 .5286162 1.13 0.258 -.4376469 1.63449 | fyear | 2010 | -.0306953 .0298935 -1.03 0.305 -.0892854 .0278948 2011 | -.077236 .0307453 -2.51 0.012 -.1374957 -.0169762 2012 | -.0814748 .0336291 -2.42 0.015 -.1473866 -.0155629 2013 | .0194988 .0339792 0.57 0.566 -.0470993 .0860969 2014 | .0458808 .0401516 1.14 0.253 -.0328149 .1245765 2015 | .0266745 .0443086 0.60 0.547 -.0601688 .1135178 2016 | .0975874 .0522047 1.87 0.062 -.004732 .1999068 2017 | .0892597 .0649787 1.37 0.170 -.0380963 .2166157 2018 | .0076378 .066033 0.12 0.908 -.1217844 .1370601 2019 | .0725756 .0702437 1.03 0.302 -.0650995 .2102506 | _cons | 1.253751 .4625044 2.71 0.007 .3472587 2.160243 -------------+---------------------------------------------------------------- sigma_u | .30729789 sigma_e | .16356735 rho | .77923012 (fraction of variance due to u_i) ------------------------------------------------------------------------------ . xtoverid 2009b: operator invalid r(198);
Did I do something wrong?
Kind regards,
Jana
0 Response to xtoverid with error: operator invalid
Post a Comment