The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Need Help
Re: Need Help [message #8842 is a reply to message #8835] Wed, 30 December 2015 15:40 Go to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

Sumera,

Use the DHS recode manual: http://www.dhsprogram.com/pubs/pdf/DHSG4/Recode6_DHS_22March 2013_DHSG4.pdf

There are several options for age. HW1 is age in months for those who were measured for Height/Weight, but if you were measured for H/W, then you were under-5. So one option is to just use the child recode as that is 1 observation per child under 5.

You can also use the birthdate information to calculate the ages of children - see the recode manual for the birth-date and interview-date variables.

Once you have age, you can just generate a variable for "under 5" by using:

gen u5 = 0
replace u5 = 1 if age_in_months<60

Obviously you could generate or use an "age_in_years" variable too if you prefer. But all the information you need is in the recode manual - just search for "age" and you'll find what you want. The "HW" and "B" variables (variables starting with those letters) are a good place to start.

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Calculating median age at first sex
Next Topic: Trend analysis of dichotomous categorical outcome variable on stata
Goto Forum:
  


Current Time: Sun Oct 6 20:23:38 Coordinated Universal Time 2024