----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
Listed 22 out of 22 observations
如何使用什么代码使得对于ID=1,在1991-1993年duration的赋值分别从1-3。
同理,对于ID=2,在1991-1993年duration的赋值分别为1,2,3。
1994-1996赋值为1,2,3。
得到如下结果:
copy starting from the next line ------ ----------------
copy up to and including the previous line - ----------------
Listed 22 out of 22 observations
.
end of do-file