Data restriction

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

maxgue17
Posts: 3
Joined: Mon Jul 25, 2011 7:57 am

Data restriction

Postby maxgue17 » Mon Jul 25, 2011 8:25 am

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.
Attachments
rendimenti differenziali 2.wf1
(172.32 KiB) Downloaded 199 times

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

Re: Data restriction

Postby EViews Gareth » Mon Jul 25, 2011 8:30 am

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

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Data restriction

Postby startz » Mon Jul 25, 2011 8:31 am

Code: Select all

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

maxgue17
Posts: 3
Joined: Mon Jul 25, 2011 7:57 am

Re: Data restriction

Postby maxgue17 » Tue Jul 26, 2011 7:06 am

Yes, that's what I was looking for.
Many thanks for your help!

maxgue17
Posts: 3
Joined: Mon Jul 25, 2011 7:57 am

Re: Data restriction

Postby maxgue17 » Tue Jul 26, 2011 7:46 am

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.
Attachments
rdiff.wf1
(208.74 KiB) Downloaded 192 times


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests