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 #20462 is a reply to message #20461] Thu, 05 November 2020 14:50 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 788
Registered: January 2013
Senior Member
Hi Placid
It is exactly as I thought. You code has:
	*--------------------------------------------------------------------------
	*We now have a woman-level file that includes each woman's exposure and births 
	*in each of the age intervals and in the specified time interval.
	
	*It will help to know the woman-years of exposure used for the GFR; call it 
	*yexp_GFR to distinguish from the person-years of exposure for the mortality rates
	--------------------------------------------------------------------------*/
however the version on github has
	/*--------------------------------------------------------------------------
	We now have a woman-level file that includes each woman's exposure and births 
	in each of the age intervals and in the specified time interval.
	
	It will help to know the woman-years of exposure used for the GFR; call it 
	yexp_GFR to distinguish from the person-years of exposure for the mortality rates
	--------------------------------------------------------------------------*/
In the version on github the comment starts with the /* in the first line and ends with */ on the last line.
In your version the first of these has been changed to just a * (meaning a single line comment, rather than a continuous comment). This means that in the last line the dash (-) at the beginning of the line is being treated as a command, and it doesn't recognize it.
Just add the slash (/) at the beginning of the first line of the comment and it should fix the problem.
 
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 Apr 19 03:26:09 Coordinated Universal Time 2024