全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
9781 1
2018-03-06
复制代码

[/code]


上面是数据下面是变量标签

----------------------------------------------------------------------------------------------------------------------------------
              storage   display    value
variable name   type    format     label      variable label
----------------------------------------------------------------------------------------------------------------------------------
IID2014         double  %20.0f                2014年个体问卷编号
IID2014cvid     double  %20.0g                与家庭成员表中的个体接驳时使用的编码
FID2014         double  %20.0f                2014年家庭问卷编号
CID2014         double  %20.0f                2014年村居编码
PROVINCE        double  %24.0g     province   省/自治区/直辖市编码
CITY            double  %33.0g     cityid     市/地区/州/盟编码
COUNTY          float   %12.0g     county     区县编码(在市范围内做了随机处理)


-----------------------------------------------------------------------------------------------------------------------------------

请问大家,如何删除stata中的所有的变量标签(不是值标签)。


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2018-3-6 19:28:21
在stata论坛找到了
https://www.stata.com/statalist/archive/2013-09/msg00521.html
If the intent is to strip off variable labels rather than value labels you could just relabel all the variables with an empty label:
复制代码


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群