想保留hhcode变量中编号相同的观测值,未重复的观测值删除,如1101010209701保留,1101010211201删除。
本人借鉴大神的程序
duplicates t hhcode,g(tag)
drop if tag==0下午跑第一遍效果很好,晚上在用这个程序就跑不了,显示为 :
duplicates t hhcode,g(tag)
generate() must specify new variable
r(110);
.
. drop if tag==0
(0 observations deleted)
求助各位大神!!


雷达卡





京公网安备 11010802022788号







