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

ENH: add misspecificatin robust inference for GMM models #430

Open
WanBenLe opened this issue May 21, 2022 · 7 comments
Open

ENH: add misspecificatin robust inference for GMM models #430

WanBenLe opened this issue May 21, 2022 · 7 comments

Comments

@WanBenLe
Copy link

I don't know if linearmodels accept the new GMM models - I reproduced the following paper (correction for finite error identification, and iterative updated GMM models dealing with cluster with Over-identification J-test) on python, and got results consistent with the source code. I would love to have my code as part of linearmodels if possible.
INFERENCE FOR ITERATED GMM UNDER MISSPECIFICATION, BRUCE E. HANSEN, SEOJEONG LEE,Econometrica, Vol. 89, No. 3 (May, 2021), 1419–1447

@bashtage bashtage changed the title I don't know if linearmodels accept the new GMM models ENH: add misspecificatin robust inference for GMM models May 22, 2022
@bashtage
Copy link
Owner

Nothing yet, but doesn't seem too hard to implement.

@bashtage
Copy link
Owner

@WanBenLe
Copy link
Author

I mean I've already done this, but I don't know if you'd like me to mention this part of the code to linarmodels according to the github process.
image

@bashtage
Copy link
Owner

A PR would be welcome.

@WanBenLe
Copy link
Author

I was using IVGMM before and found that there is no support for multi-IV and panel GMM, yesterday I checked the source code and found that there is no support for it, I don't know how I should start (arellano_bond method and panel GMM with time and clustering), the zip file is a supplement to the literature (MATLAB) and the txt file is the code I reproduced (. py), they are consistent in results

iterGMMest.txt

application.zip
You can found the same in this site:
https://www.econometricsociety.org/content/supplement-inference-iterated-gmm-under-misspecification

@bashtage
Copy link
Owner

One option would be to add support where it is possible, e.g., IVGMM, but not for models that are not supported.

@WanBenLe
Copy link
Author

One of my ideas is whether it is possible to pass in panel data through the pannel data object, but I would first make this part of the code run independently.

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

No branches or pull requests

2 participants