The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » Still Birth in India DHS-VII (Calculation of Still Birth Rates in India DHS-VII not matching with DHS report.)
Re: Still Birth in India DHS-VII [message #27730 is a reply to message #27706] Wed, 27 September 2023 09:26 Go to previous messageGo to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 880
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

Are you referring to vcal_7, rather than the entire birth history? Not sure why you want to do this, but I'll sketch out how I would do it. I would select some other letter or symbol that does not appear in the calendar, for example "#". Using the regexr function, I would loop through vcal_7, 6 times should be enough, as follows:

forvalues li=1/6 {
regexr(vcal_7,"B","#")
regexr(vcal_7,"TPPPPPP","#######")
}

This will replace the B's with # and replace TPPPPPP (a stillbirth) with #######. You have to repeat 6 times because regexr only changes the first occurrence of the string. But, as I said, I'm not sure what this will accomplish, because vcal_7 does not include miscarriages or abortions.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Abortion
Next Topic: Adverse birth outcome
Goto Forum:
  


Current Time: Wed Nov 13 20:31:38 Coordinated Universal Time 2024