I have this dataset:


Array





Where REER is the real effective exchange rate and AE, AF, etc. are the country codes.

I want to create something like picture below and have been using this code: reshape long REER_66_, i(year) j( REER_66 reer) but it doesn't work. Can someone help me with that?


Array