Hello, I'm trying to reshape the dataset with following variable names:
year gdp_province1_sector1 gdp_province1_sector2....
1997 1000 2000
1998 3000 4000
into a regular panel setting:
year id gdp province sector
1997 1 1000 1 1
1998 1 3000 1 1
....
1997 2 2000 1 2
1998 2 4000 1 2
any thought how to do it efficiently? Thanks, Farrukh
year gdp_province1_sector1 gdp_province1_sector2....
1997 1000 2000
1998 3000 4000
into a regular panel setting:
year id gdp province sector
1997 1 1000 1 1
1998 1 3000 1 1
....
1997 2 2000 1 2
1998 2 4000 1 2
any thought how to do it efficiently? Thanks, Farrukh

Comment