Newey-West standard error correction in VAR

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

fabian
Posts: 3
Joined: Mon Jan 07, 2013 8:06 am

Newey-West standard error correction in VAR

Postby fabian » Mon Jan 07, 2013 8:19 am

Hi All,

I am currently trying to estimate a VAR with 3 variables (and suggested is roughly 20 lags), but have found out that I need to correct for heteroscedasticity and preferrably also for autocorrelation between my error terms. The dataset(s) contain over 20000 obs.

I am using Eviews 6. (if an easy solution in Eviews 7 exists I am able to use that as well)

Is there any way I can use Newey-West corrected standard-errors in my VAR and later plot the Impulse response and Variance-decomposition?
Or is there a way to plot the Impulse Responses and correct t-stats for Newey-West later?

Perhaps if I use OLS on all 3 equations first? Or if there is some piece of code that can help me?

Any help is much appreciated, If more information is needed let me know.

Many Thanks!

Fabian

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

Re: Newey-West standard error correction in VAR

Postby EViews Gareth » Mon Jan 07, 2013 8:54 am

There is nothing built in that will do it for you.

fabian
Posts: 3
Joined: Mon Jan 07, 2013 8:06 am

Re: Newey-West standard error correction in VAR

Postby fabian » Mon Jan 07, 2013 10:31 am

Thanks for the quick reply,

Is there any solution to this problem with a workaround in that case?
I have seen some papers where is stated that they use the Newey-West corrected standard errors when dealing with heteroskedastic and/or autocorrelated VAR residuals..

I am kind of stuck on this, so any suggestions are welcome, even if it's not that easy to implement :wink:

Thanks

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

Re: Newey-West standard error correction in VAR

Postby EViews Gareth » Mon Jan 07, 2013 11:31 am

I can't think of a workaround, especially if you want IRFs.

fabian
Posts: 3
Joined: Mon Jan 07, 2013 8:06 am

Re: Newey-West standard error correction in VAR

Postby fabian » Mon Jan 07, 2013 12:01 pm

Thanks again,

Now say that I can remove the autocorrelation if I add more lags (which should not be to much of an issue given my rather large # of observations I think).
Is it then possible to compensate the standard errors only for heteroskedasticity (i.e. use White heteroskedasticity-robust standard errors)??
Direct/using a workaround/program something myself?

I just don't fully get it, if the VAR is basically built up from 3 lagged OLS regressions (where you can correct for HAC) why this should be in no way possible when estimating as a VAR..

Many thanks for your help!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

Re: Newey-West standard error correction in VAR

Postby EViews Gareth » Mon Jan 07, 2013 12:03 pm

Because the code that estimates a VAR is completely separate from the code that estimates OLS.

huugh
Posts: 14
Joined: Fri Feb 08, 2013 4:04 am

Re: Newey-West standard error correction in VAR

Postby huugh » Fri Feb 08, 2013 4:12 am

I have a similar problem. I intended to estimate it as a system (thus with OLS), but the HAC options are greyed out and not available. Why?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

Re: Newey-West standard error correction in VAR

Postby EViews Gareth » Fri Feb 08, 2013 9:22 am

Because EViews doesn't offer HAC standard errors on systems estimated by OLS.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Newey-West standard error correction in VAR

Postby EViews Glenn » Fri Feb 08, 2013 10:14 am

But you can specify a GMM model that is equivalent to the OLS specification (use all of the regressors as instruments and use TSLS weighting), and obtain the robust standard errors that way.

KElizabeth925
Posts: 16
Joined: Tue Aug 13, 2013 10:30 am

Re: Newey-West standard error correction in VAR

Postby KElizabeth925 » Tue Sep 03, 2013 3:47 am

If using EViews 8--is there any way to run a VAR utilising the Newey-West errror correction for autocorrelation and heteroskedasticity? Or must we run each equation via OLS , adjusting for HAC-Newey West?

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13584
Joined: Tue Sep 16, 2008 5:38 pm

Re: Newey-West standard error correction in VAR

Postby EViews Gareth » Tue Sep 03, 2013 7:07 am

Nothing has changed in EViews 8.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Newey-West standard error correction in VAR

Postby EViews Glenn » Tue Sep 03, 2013 11:40 am

And you can still specify as a system, though the HAC options are less numerous than those for the individual equations.

resbaby
Posts: 5
Joined: Tue Apr 15, 2014 1:04 am

Re: Newey-West standard error correction in VAR

Postby resbaby » Mon May 12, 2014 2:25 am

So what is the possible solution in case of VAR having autocorrelation and heteroscedasticity problem ???

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Newey-West standard error correction in VAR

Postby EViews Glenn » Mon May 12, 2014 7:16 am

To expand on our earlier comments, you can still create a system object from of the VAR, estimate using GMM with the appropriate set of instruments, and then tell EViews to do a full system HAC. No individual equations required.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests