Newey West standard errors in Stata vs Eviews

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

oxidas
Posts: 2
Joined: Mon Feb 14, 2011 10:54 am

Newey West standard errors in Stata vs Eviews

Postby oxidas » Mon Feb 14, 2011 2:29 pm

Hello,

I have recently switched to Eviews 7 and one of the things I noticed is that they the procedures for estimating timeseries with NW standard errors are different. In Stata you would simply type "Newey and specify lag length", whereas as I understand that in Eviews you cannot manually choose the lag length and you also have to specify whitening options, kernel choice,etc.

I was wondering what would be the settings for whitening, kernel and other options to get the same or as close as possible results to the method used by Stata?

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

Re: Newey West standard errors in Stata vs Eviews

Postby EViews Gareth » Mon Feb 14, 2011 2:50 pm

Stata is somewhat fragmented. Which particular Stata command were you using?

oxidas
Posts: 2
Joined: Mon Feb 14, 2011 10:54 am

Re: Newey West standard errors in Stata vs Eviews

Postby oxidas » Tue Feb 15, 2011 12:36 am

I was using Newey (depvar) (indepvars), lag(x)

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

Re: Newey West standard errors in Stata vs Eviews

Postby EViews Gareth » Tue Feb 15, 2011 8:54 am

ok. The equivalent EViews command would be:

Code: Select all

LS(COV=HAC,COVBW=Z) (depvar) (indepvars)
where Z is X+1 (i.e. the user lag-length in EViews is the same as the Stata one plus one).


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests