Page 1 of 1

smpl with the last period where all series have non-na values

Posted: Thu Jul 09, 2020 12:09 am
by tvonbrasch
Hi

I have a bunch of series, say x1, x2, ..., xN, and I want to create a string

%end

which holds the date which is the last observation in the workfile where all series have non-na values. How do I make such a string?
t

Re: smpl with the last period where all series have non-na values

Posted: Thu Jul 09, 2020 8:20 am
by EViews Gareth
Put them in a group. Create a new series equal to @robs(group). Then use the @last data member on that series.

Re: smpl with the last period where all series have non-na values

Posted: Thu Jul 09, 2020 8:50 am
by tvonbrasch
great, thanks
t