Stacking 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

jthodge
Posts: 77
Joined: Tue Oct 21, 2008 5:52 am

Stacking data

Postby jthodge » Mon Aug 08, 2011 6:10 am

I'm a bit unfamiliar with stacking data in Eviews and the role of stack identifiers.

Specifically, I'm wondering what the appropriate coding would be to simply stack all of my series from a time series format into a panel-style long/thin table.

For example, I'd like to convert data structured as the following:

Code: Select all

obs GDP UNP INF 2001 0.01 0.04 0.07 2002 0.02 0.05 0.08 2003 0.03 0.06 0.09
into a workfile structured as:

Code: Select all

YEAR SER VAL 2001 GDP 0.01 2002 GDP 0.02 2003 GDP 0.03 2001 UNP 0.04 2002 UNP 0.05 2003 UNP 0.06 2001 INF 0.07 2002 INF 0.08 2003 INF 0.09
How would I formulate the pagestack command to accomplish this?

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

Re: Stacking data

Postby EViews Gareth » Mon Aug 08, 2011 7:50 am

Code: Select all

pagestack gdp inf unp


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests