Finding first valid data in group of series
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Finding first valid data in group of series
@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.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13586
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Finding first valid data in group of series
You'll have to loop.
A group loop looks something like:
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
Thanks, I was going that way, but struck out using @members and trying to loop over the string names.
Who is online
Users browsing this forum: No registered users and 2 guests
