Support #673
closed
generating ındustry and occupatıonal dummy
Added by nazire begen about 8 years ago.
Updated about 8 years ago.
Description
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
Naz
- 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
Dear Naz,
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
- Status changed from Feedback to Closed
- % Done changed from 80 to 100
Also available in: Atom
PDF