Closed laciab closed 4 years ago
I see the same issue when I use either xtivreg2 or ivreghdfe. The latter had the advantage of allowing for factor variables.
Are there any insights as to why this is happening? Thank you!
This issue has been discussed here: https://www.statalist.org/forums/forum/general-stata-discussion/general/1492862-reghdfe-dkraay. The standard errors computed by ivreg2 and reghdfe differ in the way dofs are computed.
Using reghdfe or ivreghdfe, you can replicate ivreg2 by specifying the option dof(none), which assumes that the degrees-of-freedom used by the fixed effects is equal to the count of all the fixed effects.
The default option dof(all), instead, adjusts the count for the presence of redundant fixed effects (i.e. for collinearity across the fixed effects).
IVREG2 dofs
REGHDFE dofs
Consider the following models:
I get identical point estimates. Standard errors are however different. In particular, I get m(1) = m(2) ≠ m(3) = m(4)
What am I missing?