Hi all,
I have been working on a project for a few months that involves running some standard 2SLS regressions. I have a high-dimensional fixed effect that I want to control for, so I have been running (in Stata 13):
reghdfe outcome covar (endog=iv), a(fe)
This had been working fine for months, but today when I reran my code, I got the following error:
center not found -- struct ms_vcvorthog contains no such member
(798 lines skipped)
(error occurred while loading ivreg2.ado)
Like I said, this is the same code I was running without problem before, and if I try to run -reghdfe- for a simple regression with auto.dta, I get the same problem. So it doesn't seem to be an issue with the code, but rather it is like the command changed somehow.
When I looked into the documentation of -ivreg2.ado- it says that the data must be a panel, which mine is not. So while this could explain why it is not working now, it does not explain why it worked previously. Are other people finding -reghdfe- is not working on cross-sectional data?
If anyone has a suggestion for how I could fix this - or a different command that would allow me to run 2SLS with a high-dimensional fixed effect, I would really appreciate it.
Josh
I have been working on a project for a few months that involves running some standard 2SLS regressions. I have a high-dimensional fixed effect that I want to control for, so I have been running (in Stata 13):
reghdfe outcome covar (endog=iv), a(fe)
This had been working fine for months, but today when I reran my code, I got the following error:
center not found -- struct ms_vcvorthog contains no such member
(798 lines skipped)
(error occurred while loading ivreg2.ado)
Like I said, this is the same code I was running without problem before, and if I try to run -reghdfe- for a simple regression with auto.dta, I get the same problem. So it doesn't seem to be an issue with the code, but rather it is like the command changed somehow.
When I looked into the documentation of -ivreg2.ado- it says that the data must be a panel, which mine is not. So while this could explain why it is not working now, it does not explain why it worked previously. Are other people finding -reghdfe- is not working on cross-sectional data?
If anyone has a suggestion for how I could fix this - or a different command that would allow me to run 2SLS with a high-dimensional fixed effect, I would really appreciate it.
Josh
Comment