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
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?
Previous Topic: family structure
Next Topic: Multilevel - Indonesian DHS
Goto Forum:
  


Current Time: Mon Oct 14 22:31:00 Eastern Daylight Time 2019