andruw 查看完整内容
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
pingguzh 发表于 2015-5-15 15:08 好方法,建议还可以用label define进一步定义一下value label
andruw 发表于 2015-5-15 17:27 label define好像是定义numeric的。比如你有1 2 3 4 几种类型,可以: label define 1 "海淀区" 2 “朝阳 ...
heric221 发表于 2015-5-15 21:00 好像是这样的,还是group函数快捷,只不过无value label了。
robinwang 发表于 2015-5-17 22:39 用destring命令看看
silencezou 发表于 2015-5-18 11:53 假设所在城区变量名为area,然后这样处理: egen areaid=group(area) 意思就是按照area分组,不同组赋予不 ...
andruw 发表于 2015-5-15 00:09 egen code_new = group(code)
andruw 发表于 2015-5-14 23:41 egen code_new = group(code)