The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » Creating Time Variable For Survival Analysis & Missing(Dots) Cells (How to deal with Missing or Dotted Cells)
Re: Creating Time Variable For Survival Analysis & Missing(Dots) Cells [message #20199 is a reply to message #20177] Wed, 07 October 2020 08:10 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3215
Registered: February 2013
Senior Member
Following is a response from DHS Research & Data Analysis Director, Tom Pullum:

The variables b6 and b7 are Not Applicable if b5=1, that is, if the child is alive at the time of the survey. They are not "missing". If you want a binary variable for a neonatal death, the easiest thing is to do something like this:

gen nndeath=0
replace nndeath=1 if b7==0

Sometimes you do need to use b6, rather than b7, for example to identify early or late neonatal deaths. The important point, however, is that when b6 and b7 are NA, the child is alive and your outcome would be coded 0.

 
Read Message
Read Message
Previous Topic: NMR, PMR, and IMR estimation with syncmrates
Next Topic: Creating Sub-Population of Neonates
Goto Forum:
  


Current Time: Sat Dec 28 06:26:55 Coordinated Universal Time 2024