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.