Page 1 of 1

For loop with dates

Posted: Mon Feb 10, 2014 8:33 am
by Allexander
Hello.

I am novice at Eviews programming. Please assist me in setting 'For' loop with dates. For example, I need to run the cycle from 2000Q1 to 2013Q4 with step of 1 quarter. How in this case should 'For' be set?

Thanks in advance.

Re: For loop with dates

Posted: Mon Feb 10, 2014 9:09 am
by EViews Gareth
Easiest thing to do is use @first+!i. @first is always the first observation in your workfile, and then you can add to it to get other observations. Doesn't matter what the frequency of the workfile is.