Page 1 of 1

Data restriction

Posted: Mon Jul 25, 2011 8:25 am
by maxgue17
I've been using Evies 7 at university for only 1 course. I don't know advanced tools for the program, I've just used graph, tests, etc.
Now I'm working on a dataset about weekly values of funds, from 1/6/2006 (USA data type) to 12/31/2010, and I'd like to set a filter to data sampling to restrict the sample to each of the five years (only 2006, then only 2007, etc).
Maybe could be easier just copy-paste to Excel and then import the sample I'd like to use, but maybe there's a function that does this.
I've searched the web for something like this but I haven't found anything.

I'll upload the file I've working on.

Re: Data restriction

Posted: Mon Jul 25, 2011 8:30 am
by EViews Gareth
I'm not sure entirely what you're asking, but if you want to restrict the sample to be just 2006, simply type:

Code: Select all

smpl 2006 2006

Re: Data restriction

Posted: Mon Jul 25, 2011 8:31 am
by startz

Code: Select all

smpl 2006 2006 'do stuff smpl 2007 2007 'do stuff again

Re: Data restriction

Posted: Tue Jul 26, 2011 7:06 am
by maxgue17
Yes, that's what I was looking for.
Many thanks for your help!

Re: Data restriction

Posted: Tue Jul 26, 2011 7:46 am
by maxgue17
I've just noticed that I've a problem with my data: when I create the descriptive stats -> individual sample of my restricted group, I've weekly mean, weekly standard deviation, etc. Is there a way to automatically set those values to annual ones? Or I've to transform them manually? Won't be the Jarque-Bera test different if I "annualize" them?

I'll enclose the new work sheet.