Page 1 of 1

Loop

Posted: Thu Apr 27, 2017 2:20 am
by pgrign
Hi,

I have written a program, but I need to run it multiple times restricting the sample size. Let me explain it better: as usual the program starts with;

create m 2004.1 2017.3
...

At the end of the routine I obtain a series, which I want to keep. But then, I need to run the program again with smpl 2004.1 2017.2, and then smpl 2004.1 2017.1, etc...

I'd like to know if there's a way to make it automatically, saving a new series each time.

Thanks!

Re: Loop

Posted: Thu Apr 27, 2017 7:49 am
by EViews Gareth

Re: Loop

Posted: Mon Nov 27, 2017 10:02 am
by asif_1210
Hi,
I need to create hp filter series for each variable in my data set. They r already logged and having identifiers like X_1, X_2, etc. After hp filter, I also need to calculate and store gap in each series from its original value like X_1 - X_hp_1 (for each series). Is there any command which help me to do this at one time for each series instead of calculating for each series with manual transformations?