I have the following numbers (I have data on 150 such countries). I want to convert this data into a panel (country-year). To reshape the data, I used the Following is the code.
reshape long return, i(c_angola c_argentina) j(year) string
year c_angola c_argentina
1954 1.057942 .742753
1955 1.088095 .7518396
1956 1.084681 .7395439
1957 1.090209 .743233
Thanks
0 Response to Reshaping data from Time series form to a Panel
Post a Comment