Yet another excel-panel data question!

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

ecotrixguy
Posts: 6
Joined: Fri Jun 04, 2010 8:28 am

Yet another excel-panel data question!

Postby ecotrixguy » Fri Jun 04, 2010 10:23 am

I have been using Eviews for years, but have only recently started working with large panel datasets. I am having a hard time figuring out a simple way to arrange an excel worksheet into the correct format for importing into Eviews for a panel data analysis. Any help would be greatly appreciated. The data looks like this:

Code: Select all

Company ’01 ‘01 ‘01 ‘02 ‘02 ‘02 _______ Ls Bgs Gfa Ls Bgs Gfa Acrow 12 1.07 11.3 1.42 12.01 1.29 Bcrox 15 2.3 26 3 22 5



i.e., data on Liabilities(Ls), Borrowings(Bgs), assets(Gfa), for 2 Companies (Corporations!) for 2001('01) & 2002('02) .

Please excuse me if this qs. has been asked/answered earlier- I am new to this forum. But I think others might also have encountered this problem, and this is the usual format for a database I will need to use a lot. (There is very probably a way with Pool objects etc, but I am not familiar with that at all :))

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

Re: Yet another excel-panel data question!

Postby EViews Gareth » Fri Jun 04, 2010 11:14 am

That particular format is incredibly difficult to work with. You'll need to write quite a complex EViews program to get that in nicely. You might be better off manipulating it in Excel to a more exportable-friendly structure.

ecotrixguy
Posts: 6
Joined: Fri Jun 04, 2010 8:28 am

Re: Yet another excel-panel data question!

Postby ecotrixguy » Sat Jun 05, 2010 12:01 am

Thanks, Gareth! Well, I managed to get the data into this format below, which looks better:

Code: Select all

Co __ Acrow Bcrox ’01 Ls 12 15 ‘01 Bgs 1.07 2.3 ‘01 Gfa 11.3 26 ‘02 Ls 1.42 3 ‘02 Bgs 12.01 22 ‘02 Gfa 1.29 5
This should be manageable from here, but I am stuck for now!

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

Re: Yet another excel-panel data question!

Postby EViews Gareth » Sat Jun 05, 2010 7:50 am


ecotrixguy
Posts: 6
Joined: Fri Jun 04, 2010 8:28 am

Re: Yet another excel-panel data question!

Postby ecotrixguy » Sat Jun 05, 2010 10:18 pm

Perfect- got it! Thanks a lot. :D Btw, this highlights how it would be great if Eviews had an online help facility- say linking to topics on this forum.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests