eviews 7
I have daily data spanning 20 years. I have spit the date (d/m/yyyyy) into day, month and year.
I am attempting to sample based on a 14 day period common across all 20 years. having a problem when the sample spans more than one month.
So, for example, I'd like to sample the period May 28 through June 10.
Tried various permuatations of this but to no avail.
Suggestions?
month=5 and day >=28 and day <=31 or month=6 and day>=1 and day <=10
thanks
sampe
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: sampe
Code: Select all
smpl if (@month=5 and @day>=28) or (@month=6 and @day<=10)
Follow us on Twitter @IHSEViews
Who is online
Users browsing this forum: No registered users and 18 guests