The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Dummy for full immunization (Creating a dummy for full immunization )
Dummy for full immunization [message #18184] Tue, 08 October 2019 11:31 Go to previous message
armay is currently offline  armay
Messages: 1
Registered: October 2019
Member
I'm trying to create a dummy variable using the IR datafile and I want to make sure each child has one line. I believe each vaccination variable has multiple columns for each child in the household. (i.e. h2_1,h2_2, h2_3, h2_4 etc are showing the bcg status for each child). If this is correct, do I need to reshape the data from wide to long or is there any other way to ensure each child has a line?
 
Read Message
Read Message
Previous Topic: Merging dataset (IR and KR) of Pakistan 2017-18
Next Topic: Duration of pregnancy
Goto Forum:
  


Current Time: Fri Mar 29 05:41:52 Coordinated Universal Time 2024