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

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator

tvonbrasch
Posts: 442
Joined: Fri Apr 15, 2011 5:35 am

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

Postby tvonbrasch » Thu Jul 09, 2020 12:09 am

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 12637
Joined: Tue Sep 16, 2008 5:38 pm

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

Postby EViews Gareth » Thu Jul 09, 2020 8:20 am

Put them in a group. Create a new series equal to @robs(group). Then use the @last data member on that series.
Follow us on Twitter @IHSEViews

tvonbrasch
Posts: 442
Joined: Fri Apr 15, 2011 5:35 am

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

Postby tvonbrasch » Thu Jul 09, 2020 8:50 am

great, thanks
t


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 8 guests