Page 1 of 1

Finding first valid data in group of series

Posted: Mon May 07, 2012 6:14 am
by rloc
@ifirst does not work with a group. I want to find the LATEST FIRST DATE across series of valid data in a group containing n series. Alternately, is there a way to loop over the names of series in a group and then I will check the @ifirst of each and find the greatest.

Re: Finding first valid data in group of series

Posted: Mon May 07, 2012 7:41 am
by EViews Gareth
You'll have to loop.

A group loop looks something like:

Code: Select all

for !i=1 to g.@count %name = g.@seriesname(!i) 'do something with {%name} next

Re: Finding first valid data in group of series

Posted: Mon May 07, 2012 8:46 am
by rloc
Thanks, I was going that way, but struck out using @members and trying to loop over the string names.