The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » Previous pregnancy birth interval in months (How stillbirths can be disaggregate by previous pregnancy birth interval?)
Re: Previous pregnancy birth interval in months [message #20219 is a reply to message #19937] Fri, 09 October 2020 23:27 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 803
Registered: January 2013
Senior Member
Thanks for your question concerning the calculation of stillbirths and perinatal mortality for the India NFHS-4. It has taken quite a bit of work to prepare code to produce this for the India NFHS-4, but in the process I discovered an error in the table presented in table 7.5 by pregnancy interval. The STATcompiler contains the correct values which can be found here. I'm also attaching a PDF of the output as run in CSPro.

Also attached is modified code for producing the perinatal mortality by pregnancy interval for use in Stata. This code is rearranged from the original version and updated to include the pregnancy interval. Most of the rearrangement is to speed up the execution as it can be very slow with the data file for the India NFHS-4.

Let us know if you have any problems with the code. Apologies for the delay, but this was due to the complexities of this calculation and the size of the dataset.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Struggling finding cervical cancer variables
Next Topic: neonatal do file
Goto Forum:
  


Current Time: Fri Nov 29 16:27:41 Coordinated Universal Time 2024