fetching data w/special criteria

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

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

andrewt
Posts: 1
Joined: Tue Jul 05, 2011 2:46 pm

fetching data w/special criteria

Postby andrewt » Tue Jul 05, 2011 2:55 pm

Hello - I am using eViews 6 and would like to convert a daily series into a monthly series by averaging only the observations in the second half of the month. If I wanted the whole month I would just do fetch(c=a) dailyseries and be done with it. Is there any quick way to select only the observations for day 16+? thanks.

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

Re: fetching data w/special criteria

Postby EViews Gareth » Tue Jul 05, 2011 3:18 pm

Fetch the daily series into a daily page. On that daily page, set the sample to be day 16+ "smpl if @day>15", then create a new series equal to the old one. Then copy that new daily series into the monthly series using averaging.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 1 guest