The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » General » Employment
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?
 
Read Message
Read Message
Previous Topic: Head of house hold determinants
Next Topic: DHS Questionnaire questions --> Indicators on STATCompiler
Goto Forum:
  


Current Time: Thu Mar 28 19:19:16 Coordinated Universal Time 2024