Hi,

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
However, an error pops up saying the the i dimension has too many variables specified. Is there any alternative way to reshape the data into a panel.


year c_angola c_argentina
1954 1.057942 .742753
1955 1.088095 .7518396
1956 1.084681 .7395439
1957 1.090209 .743233

Thanks