lcrosan 发表于 2015-1-22 10:34 
运行不来,估计是没太懂程序,能请你把每一句的解释加上么?
Not that complex: just two steps of reshape and one step of collapse
Note: renvars is a user-written command and just found that it has been replaced by renvarlab in ssc. So you have to run the following first:
ssc install renvarlab,replace
Then replace the two "renvars" with "renvarlab" in my original procedure.
Good luck