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

Recalculate residual before estimating RMSE #261

Open
sophiamm22 opened this issue Aug 12, 2022 · 0 comments
Open

Recalculate residual before estimating RMSE #261

sophiamm22 opened this issue Aug 12, 2022 · 0 comments

Comments

@sophiamm22
Copy link

I'm trying to do an indirect 2SLS IV estimation by running first stage regression and second stage regression separately, allowing for different sets of controls. I need to adjust the standard errors estimated in the second stage in this case. Is there a way to manually calculating the residuals, and then use reghdfe to estimate the rest, e.g. C.I., p-value, standard errors, taking into account the fixed effects and clustering?

Here's an example without fixed effects and clustering SE. I don't know how to replicate this method with FEs and Clusters, however. Thank you so much for help or any insights!
indirectIV_RMSE

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