Attend Spring Meetings on development topics from Apr 18-23. Comment and engage with experts. Calendar of Events

Syndicate content

Add new comment

Submitted by Igor Kheyfets on

Also easy to do in Stata:

reshape long lifeexpectancy, i(countryname) j(year)

This works if columns in the pivoted ("wide") data are named "lifeexpectancy2005", etc. If not, replace it with the appropriate stub name before reshaping to unpivoted ("long") form.