Flow of Control Statement...
Posted: Thu Aug 18, 2016 7:15 am
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
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