Dear All,
I have just come across what follows, related to the user-written command -xtoverid- (net describe xtoverid, from(http://fmwww.bc.edu/RePEc/bocode/x).
Is there any way to workaround this drawback? Thanks.
I have just come across what follows, related to the user-written command -xtoverid- (net describe xtoverid, from(http://fmwww.bc.edu/RePEc/bocode/x).
Code:
. use "http://www.stata-press.com/data/r14/nlswork.dta", clear (National Longitudinal Survey. Young Women 14-26 years of age in 1968) . quietly xtreg ln_wage i.race##i.grade c.age, re vce(robust) . xtoverid 1b: operator invalid r(198); . quietly xtreg ln_wage i.race i.grade c.age, re vce(robust) . xtoverid 1b: operator invalid r(198); . quietly xtreg ln_wage race grade c.age, re vce(robust) . xtoverid Test of overidentifying restrictions: fixed vs random effects Cross-section time-series model: xtreg re robust cluster(idcode) Sargan-Hansen statistic 54.070 Chi-sq(1) P-value = 0.0000
Comment