Stacking data
Posted: 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:
into a workfile structured as:
How would I formulate the pagestack command to accomplish this?
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
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