----------------------- copy starting from the next line -----------------------
- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input long symbol str18 enddate str30 area double scope
- 2 "2013-12-31" "安徽" 3
- 2 "2013-12-31" "安徽" 3
- 2 "2013-12-31" "" .
- 2 "2013-12-31" "江苏" 3
- 2 "2013-12-31" "江苏" 3
- 2 "2013-12-31" "浙江" 3
- 2 "2014-12-31" "江苏" 4
- 2 "2014-12-31" "浙江" 4
- 2 "2014-12-31" "广西" 4
- 2 "2014-12-31" "广西" 4
- 2 "2014-12-31" "广东" 4
- 2 "2014-12-31" "" .
- end
------------------ copy up to and including the previous line ------------------
输入代码后,scope会产生缺失值。怎样才不会有缺失值?
bys symbol enddate: egen scope=nvals(area)


雷达卡






京公网安备 11010802022788号







