黃河泉 发表于 2017-11-30 17:11 
无法理解你在讲什么!请用 dataex (先 ssc install dataex 并见说明) 将原始 Stata 资料中具有”代表性” ...
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
code是字符串,我用destring code,gen(var2) force 之后,就变成
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
这样的缺省,其他都可以,就code不行,我已经在excel中变成了数值型还是不行