黃河泉 发表于 2019-8-5 16:38 
你若要问程序,永远附上相关资料 (请不要用截图);若附上资料,永远用 dataex 印出资料。
1. 先 ssc insta ...
黄老师好,我试了一下,结果如下,----------------------- copy starting from the next line -----------------------
[CODE]
* Example generated by -dataex-. To install: ssc install dataex
clear
input float(id income)
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
2 1
2 1
2 1
2 1
2 1
2 1
2 1
2 1
2 1
2 1
3 0
3 1
3 0
3 0
3 1
3 1
,就是每一个id 会对应一个income结果,我想要筛选出所以含有”1110“income结果的id,要怎么做哇