The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » Employment
Employment [message #12781] Wed, 12 July 2017 16:11 Go to next message
Jill is currently offline  Jill
Messages: 1
Registered: May 2016
Location: USA
Member
Hello, I am using Kyrgyzstan survey from 2012. I need to create a variable reflecting employment (v731). I created a dummy using v731: no=0 and other==1. However, I need to exclude women who were employed "once in a while" (category in v732). How can I combine v732 and v731 to exclude women who were employed "once in a while"? I am using STATA. I need to create a dummy variable for women who were employed "throughout the year" and "seasonally/part of the year".

Thank you.

[Updated on: Wed, 12 July 2017 16:12]

Report message to a moderator

Re: Employment [message #12927 is a reply to message #12781] Sat, 12 August 2017 18:20 Go to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

Know this is late, but it seems like a simple idea would just be something like:

gen full_time = v731 *(or start with the 0/1 variable you already created)

replace full_time = 0 if v732==(whatever the right code for part time is)

gen part_time = v732==(whatever the right code for part time is)



Basically - generate your dummy variable at 0/1, and then replace some of the "1"s with "0" if the other variable says they only worked part time. That should do it, right?
Previous Topic: Head of house hold determinants
Next Topic: DHS Questionnaire questions --> Indicators on STATCompiler
Goto Forum:
  


Current Time: Sat Mar 30 03:47:12 Coordinated Universal Time 2024