Hi, I have some problem with the reshape command that I can´t solve. What I want to do is to create two new variables from the example data bellow, v1 and v2, but still have the panel structure of different variables over id and year.
ID year variable_name value
1 2010 v1 ..
1 2011 v1 ..
1 2012 v1 ..
1 2010 v2 ..
1 2011 v2 ..
1 2012 v2 ..
2 2010 v1
......
ID year variable_name value
1 2010 v1 ..
1 2011 v1 ..
1 2012 v1 ..
1 2010 v2 ..
1 2011 v2 ..
1 2012 v2 ..
2 2010 v1
......

Comment