looping through a list of series
Posted: Thu Jan 14, 2010 8:39 am
let's assume that I am looping through list of series with the code below
but if I would like to use the list of the same variables many times it would be desirable to define it within the code and then loop like below
this does not work unfortunately :(
I know that I could create a group including these series and then loop through all the series in the group. However, the list would be much straight forward.
Is my idea feasible to implement in Eviews?
Thanks a lot in advance, k
Code: Select all
for %y sed cue tor inp
series {%y}_proc = {%y}*100
nextCode: Select all
%list = "sed cue tor inp"
for %y {%list}
series {%y}_proc = {%y}*100
nextI know that I could create a group including these series and then loop through all the series in the group. However, the list would be much straight forward.
Is my idea feasible to implement in Eviews?
Thanks a lot in advance, k