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.
0 Response to Displaying all the unique categories of a variable
Post a Comment