如下为部分数据:
如现为
1 2012 3 1
1 2012 3 2
1 2012 3 3
1 2012 3 4
1 2012 5 1
1 2012 5 2
1 2012 5 3
1 2012 6 1
1 2012 6 2
1 2012 6 3
1 2012 6 4
1 2012 6 5
1 2012 6 6
1 2012 6 7
1 2012 6 8
希望保留的是
1 2012 3 4
1 2012 5 3
1 2012 6 8
----------------------- copy starting from the next line -----------------------
- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input long Symbol float(year id) int projectrank
- 1 2012 3 1
- 1 2012 3 2
- 1 2012 3 3
- 1 2012 3 4
- 1 2012 5 1
- 1 2012 5 2
- 1 2012 5 3
- 1 2012 6 1
- 1 2012 6 2
- 1 2012 6 3
- 1 2012 6 4
- 1 2012 6 5
- 1 2012 6 6
- 1 2012 6 7
- 1 2012 6 8
- 1 2012 7 1
- 1 2012 7 2
- 1 2012 7 3
- 1 2012 7 4
- 1 2012 7 5
- 1 2012 7 6
- 1 2012 7 7
- 1 2012 7 8
- 1 2012 7 9
- 1 2012 7 10
- 1 2012 3 5
- 1 2012 3 6
- 1 2012 3 7
- 1 2012 3 8
- 1 2012 3 9
- end
------------------ copy up to and including the previous line ------------------


雷达卡






京公网安备 11010802022788号







