This post discusses the following well known external ado programs: xtoverid , xtivreg2, ivreg2 .
I have that latest versions of each of these. I'm running Stata 12 but on my work station with Stata 14.1 it's the same.
Iv'e noticed through xtoverid undocumented noi option, that the estimation of SEs between Stata's built in xtivreg command and xtoverid differs.
xtoverid utilizees xtivreg2 for estimation so these can be traced back to differences in SEs between xtivreg & xtivreg. The question is which one is preferable and why is there a difference?
Here's a silly do that will replicate this:
and the output clearly shows the differnce between the SEs (in red):
I have that latest versions of each of these. I'm running Stata 12 but on my work station with Stata 14.1 it's the same.
Iv'e noticed through xtoverid undocumented noi option, that the estimation of SEs between Stata's built in xtivreg command and xtoverid differs.
xtoverid utilizees xtivreg2 for estimation so these can be traced back to differences in SEs between xtivreg & xtivreg. The question is which one is preferable and why is there a difference?
Here's a silly do that will replicate this:
Code:
sysuse nlswide1, clear gen id = _n reshape long age count collgrad c_city union ttl_exp tenure hours wage, i(id) j(year) xtset i year xtivreg wage (tenure = hours) collgrad, fe estimates store xtivreg xtivreg2 wage (tenure = hours) collgrad, fe estimates store xtivreg2 estimates table xtivreg xtivreg2, se
Code:
---------------------------------------- Variable | xtivreg xtivreg2 -------------+-------------------------- tenure | -.23157191 -.23157191 | .86449019 .76240868 collgrad | 30.426044 30.426044 | 27.655421 24.389789 _cons | 1.4035523 | 2.6004731 ----------------------------------------
Comment