Page 1 of 1

Flow of Control Statement...

Posted: Thu Aug 18, 2016 7:15 am
by JUK
Dear Sirs/Madams

I'm sure that this query will be solved very quickly, as undoubtably I am doing something very simple incorrectly. Nevertheless, I can't find a solution so I am appealing to the board.

I am attempting to calculate multi-step ahead forecasts from my VAR model and then calculate the RMSEs. As I wasn't sure how to do this I am following the instructions in the following: http://forums.eviews.com/viewtopic.php?f=5&t=9442

However. Whenever I operate:

for !i=1 to 60+!i

I am told that the 'flow of control statement' has been 'executed from the command line'

Naturally, if I skip this step and move directly to:

smpl @first @first+60+!i

I am informed (correctly, of course) that !i is not defined.


I would be very grateful if someone could offer some advice as to where I am going wrong.

Best wishes

James

Re: Flow of Control Statement...

Posted: Thu Aug 18, 2016 7:20 am
by startz
Put your commands in a program window rather than the command line.

Re: Flow of Control Statement...

Posted: Thu Aug 18, 2016 8:46 am
by JUK
Thank you Startz.

I knew it would be a simple case of my inability to use the software!!

Got it now,

Thanks!