The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Bangladesh » Need information about some variables.
Re: Need information about some variables. [message #18098 is a reply to message #17908] Mon, 16 September 2019 12:59 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 698
Registered: January 2013
Senior Member
Dear Tania

The century day code (CDC) variables do not exist for this survey as day of birth was not asked in the birth history for the Bangladesh DHS 2014. Century day code variables were added to the DHS standard shortly after this survey was conducted. However, it would be possible to get the day of birth from the PR file for children weighed and measured, where the day of birth is also asked (see hc16). You could use this to produce the CDC with the mdy function.

gen CDC = mdy(m, d, y) + 21916

where m = month (, d = day, y = year of birth, e.g.

gen CDCdob = mdy(hc30, hc16, hc31) + 21916
 
Read Message
Read Message
Read Message
Previous Topic: Missing "Service Availability Raw" data for Bangladesh: Standard DHS, 1999-00
Next Topic: BDHS SPA 1999-2000
Goto Forum:
  


Current Time: Fri Jun 5 23:51:03 Eastern Daylight Time 2020