HAC Robust standard errors in GMM
Posted: Thu Sep 30, 2021 1:05 am
Hi everyone,
I want to estimate a single-equation GMM model with optimal weighting HAC matrix and HAC Newey-West robust standard errors with 3 lags, but I am not sure that's what Eviews 12 is giving.
In the estimation weighting matrix HAC options, I assume I don't have to select whitening options, and that Kernel is Bartlett with Newey West automatic bandwidth with 3 lags, but then there is no option to select the type of standard errors and the pretended lags, as in other software. I am not sure that I am getting it the way I want.
Here is what Capture yields:
{%equation}.gmm(instwgt=hac, instbw=neweywest, instnwlag=3, gmmiter=2) eonia=(1-c(1))*(c(2)+inflation(12)*c(3)+gap(3)*c(4))+eonia(-1)*c(1) @ inflation(-1 to -6) inflation(-9) inflation(-12) gap(-1 to -6) gap(-9) gap(-12) m3(-1 to -6) m3(-9) m3(-12) bondyield(-1 to -6) bondyield(-9) bondyield(-12)
{%equation}.gmm(instwgt=hac, instbw=neweywest, instnwlag=3, gmmiter=2, cov=hac) eonia=(1-c(1))*(c(2)+inflation(12)*c(3)+gap(3)*c(4))+eonia(-1)*c(1) @ inflation(-1 to -6) inflation(-9) inflation(-12) gap(-1 to -6) gap(-9) gap(-12) m3(-1 to -6) m3(-9) m3(-12) bondyield(-1 to -6) bondyield(-9) bondyield(-12)
Picture is what I get:
Thank you in advance
I want to estimate a single-equation GMM model with optimal weighting HAC matrix and HAC Newey-West robust standard errors with 3 lags, but I am not sure that's what Eviews 12 is giving.
In the estimation weighting matrix HAC options, I assume I don't have to select whitening options, and that Kernel is Bartlett with Newey West automatic bandwidth with 3 lags, but then there is no option to select the type of standard errors and the pretended lags, as in other software. I am not sure that I am getting it the way I want.
Here is what Capture yields:
{%equation}.gmm(instwgt=hac, instbw=neweywest, instnwlag=3, gmmiter=2) eonia=(1-c(1))*(c(2)+inflation(12)*c(3)+gap(3)*c(4))+eonia(-1)*c(1) @ inflation(-1 to -6) inflation(-9) inflation(-12) gap(-1 to -6) gap(-9) gap(-12) m3(-1 to -6) m3(-9) m3(-12) bondyield(-1 to -6) bondyield(-9) bondyield(-12)
{%equation}.gmm(instwgt=hac, instbw=neweywest, instnwlag=3, gmmiter=2, cov=hac) eonia=(1-c(1))*(c(2)+inflation(12)*c(3)+gap(3)*c(4))+eonia(-1)*c(1) @ inflation(-1 to -6) inflation(-9) inflation(-12) gap(-1 to -6) gap(-9) gap(-12) m3(-1 to -6) m3(-9) m3(-12) bondyield(-1 to -6) bondyield(-9) bondyield(-12)
Picture is what I get:
Thank you in advance