Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ivreghdfe throws off ivreg2 instrument collinearity detection? #43

Open
droodman opened this issue Mar 12, 2022 · 0 comments
Open

ivreghdfe throws off ivreg2 instrument collinearity detection? #43

droodman opened this issue Mar 12, 2022 · 0 comments

Comments

@droodman
Copy link

droodman commented Mar 12, 2022

These two commands return basically the same results:

ivreg2 price i.turn (headroom = foreign#c.turn)
ivreghdfe price (headroom = foreign#c.turn), absorb(turn)

However, in the first one, ivreg2 detects that the instruments foreign#c.turn are multicollinear with i.turn, whereas in the second it does not detect collinearity as far as I can see, looking at return macros such as e(exexog). This matters to me because I would like to make boottest return the same results after both. However, boottest relies on ivreg2 to detect and mark collinear instruments. Since none are marked in the second case, boottest is returning wrong results after that command line, at least when doing the Anderson-Rubin test.

Do you think there's anything to be done about this?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant