Importing World Bank Panel 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

abdurrub
Posts: 14
Joined: Tue Jul 16, 2013 9:08 am

Importing World Bank Panel Data

Postby abdurrub » Sat Aug 10, 2013 1:29 pm

Hi,

I have read the detailed guide of how to import data on an other topic but cannot the import the attached file into Eviews 7. Could someone please help me out here.
Attachments
Inflation version 2.xlsx
(105.41 KiB) Downloaded 1036 times

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

Re: Importing World Bank Panel Data

Postby EViews Gareth » Sun Aug 11, 2013 5:46 pm

Probably the easiest thing to do, if you're using EViews 7 rather than 8, is to transpose it manually in Excel, then put it into EViews.

abdurrub
Posts: 14
Joined: Tue Jul 16, 2013 9:08 am

Re: Importing World Bank Panel Data

Postby abdurrub » Mon Aug 12, 2013 10:15 am

I tried that first. But since its a panel data of 190 countries, I have to copy and transpose paste for every country one-by-one.
Is it still the easiest way possible?

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

Re: Importing World Bank Panel Data

Postby EViews Gareth » Mon Aug 12, 2013 10:29 am

If it were me, I'd just upgrade to EViews 8 :wink:

abdurrub
Posts: 14
Joined: Tue Jul 16, 2013 9:08 am

Re: Importing World Bank Panel Data

Postby abdurrub » Mon Aug 12, 2013 11:56 am

will the beta version do?
the process in EVIEWS 8 BETA is straight forward?

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

Re: Importing World Bank Panel Data

Postby EViews Gareth » Mon Aug 12, 2013 11:59 am

The Beta version will no longer work.

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

Re: Importing World Bank Panel Data

Postby EViews Gareth » Mon Aug 12, 2013 12:58 pm

But, if you do get EViews, this code will make both a pooled page and a panel page:

Code: Select all

wfopen(page=pool) "inflation version 2.xlsx" byrow colhead=2 namepos=last @rename country_code year pagestruct @date(year) %cxlist = @wlookup("???", "series") pagestack(page=panel) {%cxlist} rename var02 inflation

abdurrub
Posts: 14
Joined: Tue Jul 16, 2013 9:08 am

Re: Importing World Bank Panel Data

Postby abdurrub » Mon Aug 12, 2013 1:44 pm

Thank you Gareth. :)


Also, I found Tableau add-in for excel to do the trick of reshaping this wide data into long which can be easily imported into eviews.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests