Forecast Syntax

For questions regarding programming in the EViews programming language.

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

Qmars
Posts: 21
Joined: Thu Dec 04, 2008 10:30 pm

Forecast Syntax

Postby Qmars » Thu Jun 18, 2009 8:38 am

Hi,

Is there any way to forecast upon the results of the below regressions by a syntax?

Thanks

for !i=1 to 3
smpl @all if @crossid=!i
equation regression{!i}.ls fl c log(gdp) cars roads
Next

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

Re: Forecast Syntax

Postby EViews Gareth » Thu Jun 18, 2009 9:29 am

regression{!i}.forecast fl{!i}

Qmars
Posts: 21
Joined: Thu Dec 04, 2008 10:30 pm

Re: Forecast Syntax

Postby Qmars » Fri Jun 19, 2009 12:53 am

Thanks


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests