Hello 
Using
selects variables without defined value labels (according to "help ds"). Yet, in my dataset some variables are NOT selected, even though they have no value labels.
Here is a reproducible example:
1. What is happening here?
2. How can I get a list with ALL variables that don't have value labels according to "label list"?
Thank you very much in advance
Andreas

Using
Code:
ds, not(vallabel)
Here is a reproducible example:
Code:
sysuse citytemp.dta, clear describe // we see: "region" and "division" have value labels; all other variables don't. ds, not(vallabel) // correctly lists all variables except "region" and "division". label list region // works. label drop region // drop the value label container "region" for the variable "region". label list region // shows message "value label region not found" (as expected) ds, not(vallabel) // "region" is still not implied. WHY? How can I get a list that also implies "region"? describe // "region" still has a value label container accoording to describe...
1. What is happening here?
2. How can I get a list with ALL variables that don't have value labels according to "label list"?
Thank you very much in advance
Andreas
Comment