The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » Neonatal mortality (syncmrates command )
Neonatal mortality [message #28937] Fri, 29 March 2024 15:06 Go to next message
Lily is currently offline  Lily
Messages: 7
Registered: December 2022
Member
I am using syncmrates command to calculate nmr for NFHS 5 using BR file.
I am getting the values matching the report.I wanted to know how can I generate one single new variable in Stata as nmr that includes syncmrates command values. I want this because I need a single value that has only nmr so that I can carry out regression , nmr is my main outcome variable which I need as a binary variable.

[Updated on: Fri, 29 March 2024 23:10]

Report message to a moderator

Re: Neonatal mortality [message #28949 is a reply to message #28937] Tue, 02 April 2024 10:33 Go to previous message
Janet-DHS is currently offline  Janet-DHS
Messages: 911
Registered: April 2022
Senior Member
Following is a response from DHS staff member, Tom Pullum:

Probably the closest you can come to what you want is the following:
gen NMR=0
replace NMR=1 if b7==0

svyset v001 [pweight=v005], strata(v023) singleunit(centered)
svy: logit NMR if v008-b3>=1 & v008-b3<=61

* Transform the constant term into the NMR with antilogit
matrix T=r(table)
matrix list T
scalar nmr=1000*exp(T[1,1])/(1+exp(T[1,1]))

* You can do the same thing to the lower and upper bounds of the 95% c.i.
* You can include covariates in the regression or restrict to subpopulations
This will not match exactly with the report or with syncmrates for the national rate because those estimates make some adjustments for exposure and deaths in the first and last months of the interval 1-60 months before the month of interview.  However, this comes very close to an individual-level equivalent to the neonatal mortality rate.
Previous Topic: neonatal mortality
Next Topic: missing results
Goto Forum:
  


Current Time: Thu Dec 26 09:19:49 Coordinated Universal Time 2024