The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Child Health » Children's age in months
Re: Children's age in months [message #22197 is a reply to message #22195] Wed, 10 February 2021 09:57 Go to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

This depends on which file you are using.

For KR and BR files this would be :
gen age = v008 - b3

or if the survey has the variable b19, then:
gen age=b19

For IR files it would be:
gen age = v008 - b3_01

and if there is a b19 variable in the dataset, then:
gen age=b19_01

The Guide to DHS Statistics is a good resource for understanding how to use DHS data: https://www.dhsprogram.com/Data/Guide-to-DHS-Statistics/inde x.htm#t=Guide_to_DHS_Statistics_DHS-7.htm

We also have standard code for all indicators listed in the Guide on our code share library hosted on GitHub: https://github.com/DHSProgram/DHS-Indicators-Stata

Thank you.

Best,
Shireen Assaf
The DHS Program



 
Read Message
Read Message
Previous Topic: No. of U5 in HH coded "0" ?.
Next Topic: Immunization Coverage
Goto Forum:
  


Current Time: Sun Dec 22 07:41:18 Coordinated Universal Time 2024