Please, I would really appreciate some help on this.
I would like to convert these repeated time panel data (pooled data)
id year sex inc
-----------------------
1 80 0 5000
2 80 1 2000
3 80 0 3000
1 81 0 5500
2 81 0 2200
3 81 1 2000
1 82 0 6000
2 82 1 3300
3 82 0 1000
in the form of data of panel in series of time.
Data should be in long format: