Neonatal mortality [message #28937] |
Fri, 29 March 2024 15:06 |
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 |
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.
|
|
|