数据如下:
- * Example generated by -dataex-. To install: ssc install dataex
- clear
- input float survey_year str12 ID byte w1
- 2011 "118276311001" 2
- 2015 "118276311001" 2
- 2018 "118276311001" 2
- 2011 "118276312001" .
- 2015 "118276312001" .
- 2018 "118276312001" .
- 2011 "118276312002" 2
- 2015 "118276312002" 2
- 2018 "118276312002" 2
- 2011 "118276313001" .
- 2015 "118276313001" .
- 2018 "118276313001" .
- 2011 "118276313002" 2
- 2015 "118276313002" 2
- 2018 "118276313002" 2
- 2011 "118276315001" .
- 2015 "118276315001" .
- 2018 "118276315001" .
- 2011 "118276315002" 2
- 2015 "118276315002" 2
- 2018 "118276315002" 1
- 2011 "118276316001" .
- 2015 "118276316001" .
- 2018 "118276316001" .
- 2011 "118276316002" 2
- 2015 "118276316002" 2
- 2018 "118276316002" 2
- 2011 "118276318001" 2
- 2015 "118276318001" 2
- 2018 "118276318001" 2
- 2011 "118276318002" .
- 2015 "118276318002" .
- 2018 "118276318002" .
- 2011 "118276319002" .
- 2015 "118276319002" .
- 2018 "118276319002" .
- 2011 "118276320001" 2
- 2015 "118276320001" 2
- 2018 "118276320001" 2
- 2011 "118276320002" 2
- 2015 "118276320002" 2
- 2018 "118276320002" 2
- 2011 "118276321002" 2
- 2015 "118276321002" 2
- 2018 "118276321002" 2
- 2011 "118276322001" .
- 2015 "118276322001" .
- 2018 "118276322001" .
- 2011 "118276322002" 2
- 2015 "118276322002" 2
- 2018 "118276322002" 2
- end
- label values w1 i1935
- label def i1935 1 "1 Yes", modify
- label def i1935 2 "2 No", modify