generating ındustry and occupatıonal dummy
I would like to generate a ındustry and occupational dummy.
would you tell me process step by step.
many thanks and regards for your support
Updated by Victoria Nolan almost 6 years ago
- Status changed from New to Feedback
- Assignee changed from Alita Nandi to nazire begen
- % Done changed from 0 to 80
- Private changed from Yes to No
Please see the following Stata code:
gen occ_dummy=(<your occupation variable>==<values of whichever occupations you want to distinguish from the rest>)
lab def occ_dummy 0”<label for occupation group 1>” 1”<label for occupation group 2>”
lab val occ_dummy occ_dummy
Unfortunately we are unable to advise you on which occupations or industries you wish to distinguish.
Best wishes, Victoria
On behalf of the Understanding Society Data User Support Team