Hello,
How to extract HAC variance-covariance matrix used in GMM estimation?
Thanks
Extracting HAC covariance matrix from GMM estimation
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
kusdhianto
- Posts: 14
- Joined: Thu Apr 22, 2010 2:40 am
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13584
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Extracting HAC covariance matrix from GMM estimation
You can use
Code: Select all
equation.@instwgt
-
kusdhianto
- Posts: 14
- Joined: Thu Apr 22, 2010 2:40 am
Re: Extracting HAC covariance matrix from GMM estimation
many thanks for your quick response,
still no luck. Sorry I am new in EViews programming. Here is my equation:
where I should put your code?
still no luck. Sorry I am new in EViews programming. Here is my equation:
Code: Select all
equation myeq.GMM(METHOD=CONVERGE,INSTWGT=HAC,INSTLAG=A,INSTINFO=AIC,INSTKERN=THANN,INSTBW=ANDREWS,NOCINST,COV=HAC,COVLAG=A,COVINFO=AIC,B,DERIV=AA) (C(1)*(US_RCONS/US_RCONS(-1))^-C(2))*(US_RRM_C)-1 @ 1 US_RCONS(-1)/US_RCONS(-2) US_RRM_C(-1)-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13584
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Extracting HAC covariance matrix from GMM estimation
Code: Select all
equation myeq.GMM(METHOD=CONVERGE,INSTWGT=HAC,INSTLAG=A,INSTINFO=AIC,INSTKERN=THANN,INSTBW=ANDREWS,NOCINST,COV=HAC,COVLAG=A,COVINFO=AIC,B,DERIV=AA) (C(1)*(US_RCONS/US_RCONS(-1))^-C(2))*(US_RRM_C)-1 @ 1 US_RCONS(-1)/US_RCONS(-2) US_RRM_C(-1)
matrix wgts = myeq.@instwgt
-
kusdhianto
- Posts: 14
- Joined: Thu Apr 22, 2010 2:40 am
Re: Extracting HAC covariance matrix from GMM estimation
thank you so much
best regards
best regards
Who is online
Users browsing this forum: No registered users and 2 guests
