Project

General

Profile

Support #673

generating ındustry and occupatıonal dummy

Added by nazire begen over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Data analysis
Start date:
12/01/2016
% Done:

100%


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

#1

Updated by Victoria Nolan over 5 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

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

#2

Updated by Victoria Nolan over 5 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF