Hello, I am using ivreghdfe for analysing my data. It is a model with an endogenous variable that I am instrumenting. Further, I have a moderating term that is exogenous. My model looks like this:
ivreghdfe y c.moderator (c.x c.x#c.moderator = c.instrument c.instrument#c.moderator) controls, robust
margins, at(x=(0 100) moderator=(0 1))
marginsplot
Strangely, this was working two weeks back. Then I updated the STATA. I now have STATA19. And now it is not working. I have uninstalled, installed all packages multiple times but it is still not working.
Any help will be appreciated. The model is working fine. I am not able to get the plot.
ivreghdfe y c.moderator (c.x c.x#c.moderator = c.instrument c.instrument#c.moderator) controls, robust
margins, at(x=(0 100) moderator=(0 1))
marginsplot
Strangely, this was working two weeks back. Then I updated the STATA. I now have STATA19. And now it is not working. I have uninstalled, installed all packages multiple times but it is still not working.
Any help will be appreciated. The model is working fine. I am not able to get the plot.