HI all,
Please consider the following data set on ocuupation
Is there any code that would display these occupational categories uniquely?
I used the following:
and got the output:
This does not let me see what these 23 unique values can be.
Any help would be appreciated.
Thanks.
Please consider the following data set on ocuupation
Code:
clear . input str4 occu occu 1. homemaker 2. retired 3. student 4. businessman 5. daily labourer 6. student 7. daily labourer 8. end . list +------+ | occu | |------| 1. | home | 2. | reti | 3. | stud | 4. | busi | 5. | dail | |------| 6. | stud | 7. | dail | +------+
I used the following:
Code:
codebook occupation
Code:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------- occupation (unlabeled) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- type: string (strL) unique values: 23 missing "": 0/544,533 examples: "Home Maker" "Home-based Worker" "Self employed professional" "Student" warning: variable has embedded blanks
Any help would be appreciated.
Thanks.
Comment