Newey West HAC in command line

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Zausel
Posts: 5
Joined: Tue Sep 22, 2009 7:47 am

Newey West HAC in command line

Postby Zausel » Sun Oct 04, 2009 2:45 pm

I have a question regarding Newey West standard erros.

I have a simple regression code to run ols for 23 country Index funds:

for !i = 1 to country.@count
%name = country.@seriesname(!i)
equation eq_{%name}.ls {%name} c msci_world
next

Which code can i use that the Newey West standard errors are automatically calculated for each country index fund?




Thanks for your help!

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Newey West HAC in command line

Postby trubador » Mon Oct 05, 2009 6:43 am

...
equation eq_{%name}.ls(n) {%name} c msci_world
...


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest