Hi all,
unfortunately i am not that familiar with stata. so this is my problem: i would like to delete all variables in my data set which have an empty (variable) label.
this is how far i got:
foreach v of varlist * {
local x : variable label `v'
}
Is it possible to include sth like this:
drop `v' if `x'==""
unfortunately this doesn't work. does anyone know how to do this?
thanks and kind regards
unfortunately i am not that familiar with stata. so this is my problem: i would like to delete all variables in my data set which have an empty (variable) label.
this is how far i got:
foreach v of varlist * {
local x : variable label `v'
}
Is it possible to include sth like this:
drop `v' if `x'==""
unfortunately this doesn't work. does anyone know how to do this?
thanks and kind regards
Comment