ds
foreach i in `r(varlist)'{
local w : variable label `i'
local w =subinstr("`w'"," ","_",.)
cap rename `i' `w'
}
ds
foreach i in `r(varlist)'{
local w : variable label `i'
local w =subinstr("`w'"," ","_",.)
cap rename `i' `w'
}
本文标题:如何利用stata把数据标签改成变量名
本文链接:https://www.haomeiwen.com/subject/pcrctltx.html
网友评论