Data range

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

antipa
Posts: 14
Joined: Tue Apr 16, 2013 9:47 am

Data range

Postby antipa » Thu Dec 12, 2013 10:50 am

Hello,

I have a monthly data set that encompasses roughly 3200 observations. However, only certain data range are of interest to me. When specifiying the sample range, I run into the problem that eviews doesn't consider all date pairs. Is there a maximum number of data pairs that the sample command can manage?

The command I use is

sample sample_name date pairs

Thank you very much in advance!

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

Re: Data range

Postby EViews Gareth » Thu Dec 12, 2013 10:52 am

Probably, how many do you have?

antipa
Posts: 14
Joined: Tue Apr 16, 2013 9:47 am

Re: Data range

Postby antipa » Thu Dec 12, 2013 10:55 am

ideally I would like to include 10 date pairs

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

Re: Data range

Postby startz » Thu Dec 12, 2013 10:58 am

After you say

Code: Select all

sample sample_name date pairs
follow it up with

Code: Select all

smpl sample_name

antipa
Posts: 14
Joined: Tue Apr 16, 2013 9:47 am

Re: Data range

Postby antipa » Thu Dec 12, 2013 11:11 am

if I understand correctly smpl set the current workfile sample to the sample I have specified. but how do I include additional dates?

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

Re: Data range

Postby startz » Thu Dec 12, 2013 11:13 am

smpl 1 2 5 8 9 23 35 1000

or whatever.

antipa
Posts: 14
Joined: Tue Apr 16, 2013 9:47 am

Re: Data range

Postby antipa » Thu Dec 12, 2013 11:20 am

perfect. thanks a lot!


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests