-
Notifications
You must be signed in to change notification settings - Fork 29
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
estimates post: matrix has missing values r(504); #24
Comments
I'm having the same issue on Stata 15.1. Did you ever find a solution? - thanks! |
Just a workaround: I dropped the colinear variables from the regressions manually. I know this sounds like a solution, but it was an issue because I was looping over subsamples, so I didn't know what would be colinear before running. |
Sorry I missed the initial post. I tried to reproduce this issue on my end and I can't. I would need a MWE, preferably using the "sysuse auto" dataset, in order to see what's the problem and debug it. |
I got the same error after using
|
Dear Sergio, Thanks a million, and loads of sincere gratitude also from me for these great packages, and for making our lives so much easier with them! It has been my turn to encounter this issue today. So I was also wondering whether in the end there has been any solution or workaround? In the meantime, I tried to run the same regression using "reghdfe..., ... old", which instead of dropping the collinear variable keeps it in the equation (thereby producing an implausibly high coefficient). I then get the first-stages estimates I have been after. Thank you so much in advance for any guidance you could provide, and best, |
This worked for me as well. |
IVREGHDFE returns a "estimates post: matrix has missing values r(504);" error when a perfectly collinear variable is dropped from a model.
REGHDFE, OLD works fine when this happens.
Thanks for producing such a valuable public good!
The text was updated successfully, but these errors were encountered: