Sampling the lowest observations in December

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

anhkhoa_lpt
Posts: 22
Joined: Thu Sep 29, 2011 8:28 pm
Location: Vietnam

Sampling the lowest observations in December

Postby anhkhoa_lpt » Mon Apr 06, 2015 4:44 am

Dear Sir,
I have one serie about stock price (daily) from 2001 to 2015.
I dont know how to sample the lowest observation in December, so I will have 15 obs to regression.
Can you help me?
Thanks very much

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

Re: Sampling the lowest observations in December

Postby EViews Gareth » Mon Apr 06, 2015 8:44 am

smpl if @month=12 and x = @minsby(x, @month, @year)
Follow us on Twitter @IHSEViews

anhkhoa_lpt
Posts: 22
Joined: Thu Sep 29, 2011 8:28 pm
Location: Vietnam

Re: Sampling the lowest observations in December

Postby anhkhoa_lpt » Mon Apr 06, 2015 8:36 pm

Thank you, sir.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 18 guests