Forecast combination

For questions regarding programming in the EViews programming language.

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

Katjes
Posts: 55
Joined: Thu Oct 02, 2008 5:46 am

Forecast combination

Postby Katjes » Mon Jul 20, 2015 7:36 am

Started using the new options of EVIEWS 9, I very happy that forecast combination procedure are ready to use for indidual forecasts or a group of forecasts (ind_f1_w_all)
Either manually or by command, e.g.

Code: Select all

data_real.fcastavg(wgt=mean,name=f1_av) ind_f1_w_all
data_real.fcastavg(wgt=mean,name=f2_av) ind_f2_w_all 


But it seems not working for loops?

Code: Select all

for !m=1 to 12
data_real.fcastavg(wgt=mean,name=f{!m}_av) ind_f{!m}_w_all
next

But it seems not working for loops? Solutions are welcome!

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

Re: Forecast combination

Postby EViews Gareth » Mon Jul 20, 2015 8:15 am

Hard to say what the solution is without knowing what the problem is.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 6 guests