Import panel data from Excel

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

ecardamone
Posts: 40
Joined: Wed Sep 17, 2014 12:23 pm

Import panel data from Excel

Postby ecardamone » Thu Dec 11, 2014 3:00 pm

Hi,

I am trying to import panel data from Excel. I am hoping there is a way to do this without having to manipulate the data set in Excel too much. I have 64 cross sections for 1997-2012, and two variables for each cross section.

In the attached Excel document Book1.xlsx is an example of the data I have. My question is, do I have to rearrange the data in Excel (such as in Panel.xls) in order to import it into EViews? Or can it be done with minimal changes to my Excel file?

Thanks for help!
Attachments
Panel.xls
(25 KiB) Downloaded 423 times
Book1.xlsx
(10.55 KiB) Downloaded 427 times

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

Re: Import panel data from Excel

Postby EViews Gareth » Thu Dec 11, 2014 3:13 pm

There isn't a good way to get it from the existing format.

You can transpose it in Excel (which is just a copy and then paste special), then read it in as a sort of pool, then convert from pool to panel.

ecardamone
Posts: 40
Joined: Wed Sep 17, 2014 12:23 pm

Re: Import panel data from Excel

Postby ecardamone » Fri Dec 12, 2014 7:29 am

Thank you!


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 1 guest