In a generally well-documented and prepared data file (with labels, missing values, etc.), I find that for variables that share a particular value label, the label associated with value = 1 does not display.
I had assumed someone forgot to define a label for the value 1, but this is not the problem:
I thought that perhaps LABZ contained a bad character, so I inspected the text as extracted into a local, and it shows, as does -tab-, a blank label:
Any guesses what might be wrong with this label? As it happens, this comes from the U.S. General Social Survey, so I'd like to figure this out and point out the problem to them, as I've seen it before in their files. I've attached a 100 observation sample for this variable.
Code:
. tab varbad Has a Bad | Label | Freq. Percent Cum. -------------+----------------------------------- 1 | 30 42.25 42.25 only some | 34 47.89 90.14 hardly any | 7 9.86 100.00 -------------+----------------------------------- Total | 71 100.00
Code:
label list LABZ LABZ: .i iap 1 a great deal 2 only some 3 hardly any .d dk .n na
Code:
. local label1: label LABZ 1 . di "`label1'" 1
Comment