Page 1 of 1

fetching data w/special criteria

Posted: Tue Jul 05, 2011 2:55 pm
by andrewt
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.

Re: fetching data w/special criteria

Posted: Tue Jul 05, 2011 3:18 pm
by EViews Gareth
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.