The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » Maternal Mortality
Re: MMR & PRMRatio (pregnancy related mortality ratio) [message #20452 is a reply to message #20451] Wed, 04 November 2020 23:49 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 803
Registered: January 2013
Senior Member
Hi Placid
I'm not getting the error that you are seeing when I run the code. There is a lot going on in this code, so it is difficult to highlight where the problem is. I'm fairly sure the error lies in AM_gfr.do, but because there are a lot of 'program's in this file and they run quietly it does not highlight where the problem is. I suggest modifying the code so that when it is calling a program call it noisily so that you can identify exactly where the error is coming from. For example, in AM_gfr.do on lines 333 and 342, make these
noisily setup_gfr, and
noisily make_exposure_and_births
and similarly in lines 194 and 195, change the "quietly" to "noisily".
Hopefully these will help to identify exactly which command is failing.
Also, which version of Stata are you using? It is possible that there is a Stata command that doesn't work in earlier versions of Stata.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Under five mortality
Next Topic: Effect of Fertility decline on Maternal Mortality
Goto Forum:
  


Current Time: Fri Nov 29 18:54:11 Coordinated Universal Time 2024