Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73268

Transforming time series data into Panel data

$
0
0

Hello, I have a time series dataset, downloaded from UNCTAD.
Then I pasted the data into Stata datasheet.
The data is the following

var1 var2 var3 var4 var5
year 1980 1981 1982 1983
x 1.2 2.3 3.4 4.5
y 2.1 2.2 2.3 2.4
z 3.1 3.2 3.3 3.4

where x, y, z are countries and var2-var5 are years.

I was trying to transform it using the "reshape" function. It did not solve the problem.
I appreciate your reply and help.

Viewing all articles
Browse latest Browse all 73268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>