How to import stacked data?

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

Liu
Posts: 90
Joined: Tue Jun 08, 2010 6:22 am

How to import stacked data?

Postby Liu » Thu Aug 18, 2011 12:56 pm

Hi,

I have an excel data sheet that has series that sit on top of each other. The sheet looks like what's shown below.


Name seriesa seriesb
1970 100 200
1980 200 300
... ... ...
1999 500 600
Name seriesc seriesd
1970 200 300
1971 100 200
... ... ...
1999 500 600



The problem is that eviews will not recognize the first columne as date index and also, seriesc is a string that will not
be identified as an observation either.


Is there a way I can let eview read this datasheet? The fact is that it would be very difficult for me to cut and past the second half of the data sheet to a new sheet and then open it, for the fact that I have a thousand sheets like this.

Thanks in advance for your help.

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

Re: How to import stacked data?

Postby EViews Gareth » Thu Aug 18, 2011 1:22 pm

The only way you're going to be able to do this is by specifying a custom range when you open/import the file. Set the range to be the first part (i.e. up until the point where the second stack starts) and import the data, then do it a second time with the second part.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests