The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » NMR, PMR, and IMR estimation with syncmrates
NMR, PMR, and IMR estimation with syncmrates [message #13890] Fri, 19 January 2018 05:19 Go to next message
dgodha
Messages: 37
Registered: November 2016
Location: India
Member
Hello Users,

I have been using the "syncmrates" command to estimate NMR, PMR, and IMR. The command used is as follows:
syncmrates v008 b3 b7 if v024==0 & v013==1 [iw=v005], cluster(v021)

For one of the countries, Stata returns this error message: 'r(cmr)' evaluated to missing in full sample"

In earlier datasets, CMR was simply omitted but I could still get estimates for the remaining mortality rates. I will appreciate if someone will suggest a solution.

Many thanks


Deepali
Re: NMR, PMR, and IMR estimation with syncmrates [message #13922 is a reply to message #13890] Thu, 25 January 2018 06:02 Go to previous messageGo to next message
dgodha
Messages: 37
Registered: November 2016
Location: India
Member
Hi All,

I was able to solve the above problem by making modifications to the "syncmrates" ado file. Hence, I close this thread.

Best


Deepali
Re: NMR, PMR, and IMR estimation with syncmrates [message #15553 is a reply to message #13922] Fri, 10 August 2018 16:38 Go to previous messageGo to next message
abpromiti is currently offline  abpromiti
Messages: 20
Registered: December 2017
Location: Dhaka
Member
Hello,
Can you please share that code? I'm facing same difficulties.
Re: NMR, PMR, and IMR estimation with syncmrates [message #20050 is a reply to message #13922] Tue, 22 September 2020 06:26 Go to previous messageGo to next message
shujaat.smc@gmail.com is currently offline  shujaat.smc@gmail.com
Messages: 31
Registered: July 2020
Member
I want to calculate only nmr with respect to regions and community level factors, how I should use the SYNCMRATES for this.

Please reply as soon as possible.

Best Regards

Dr. Hussain
Re: NMR, PMR, and IMR estimation with syncmrates [message #20051 is a reply to message #20050] Tue, 22 September 2020 06:36 Go to previous messageGo to next message
shujaat.smc@gmail.com is currently offline  shujaat.smc@gmail.com
Messages: 31
Registered: July 2020
Member
I am using Pakistan's DHS recent survey and wants to look at the NMR by regions in my country. How I can use SYNMRATES for this purpose so that I can see the NMR by regions in last 5 years before survey.

Best Regards

Dr. Hussain
Re: NMR, PMR, and IMR estimation with syncmrates [message #20061 is a reply to message #20051] Tue, 22 September 2020 10:46 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 1976
Registered: February 2013
Senior Member

Following is a response from DHS Research & Data Analysis Director, Tom Pullum:

At DHS we have heard about "syncmrates", a Stata package to calculate under-five mortality rates, but we have not actually used it. Perhaps some other forum users will respond.

Neonatal mortality is very easy to analyze with logit regression. In the BR file, in Stata, you define a variable such as "gen NNdeath=0" and "replace NNdeath=1 if b7==0". Then proceed with "logit NNdeath....", including covariates such as region on the right hand side. You will also want to include restrictions on the date of the birth (b3). If you convert the estimates back to probabilities, they will match with demographic approaches.

The other under-five rates are compound and not amenable to this approach.

Re: NMR, PMR, and IMR estimation with syncmrates [message #20096 is a reply to message #20061] Fri, 25 September 2020 07:01 Go to previous messageGo to next message
shujaat.smc@gmail.com is currently offline  shujaat.smc@gmail.com
Messages: 31
Registered: July 2020
Member
Dear DHS Representative,

Thanks a lot for your response. I am analyzing the neonatal mortality determinants using survival analysis methodology.

I have use following variables to declare by data set as survival data;

stset b6 [iweight=v005], failure(childsurvivalstatus=1)

b6= age at death

childsurvival status= variable created from b5 (code=1 for death)

I have 31,683 missing value out of 34,425 (92% missing).

My Question1: Should I remove these missing values from my analysis (ie; drop these observation)

My Question2: In DHS statistics it is written that variable b7 (imputed age at death in months) is not allowed to miss, but the in my PDHS 2017-18 I have same amount of missing values as in b6 (age at death in days and months).

Waiting for your reply.

Best Regards

Dr. Hussain



stset b6 [iweight=v005], failure(childsurvivalstatus=1)

failure event: childsurvivalstatus == 1
obs. time interval: (0, b6]
exit on or before: failure
weight: [iweight=v005]

------------------------------------------------------------ ------------------
34425 total observations
31683 event time missing (b6>=.) PROBABLE ERROR
------------------------------------------------------------ ------------------
2742 observations remaining, representing
2742 failures in single-record/single-failure data
462674 total analysis time at risk and under observation
at risk from t = 0
earliest observed entry t = 0
last observed exit t = 326

Re: NMR, PMR, and IMR estimation with syncmrates [message #20100 is a reply to message #20096] Fri, 25 September 2020 08:19 Go to previous messageGo to next message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 1976
Registered: February 2013
Senior Member

Following is a response from DHS Research & Data Analysis Director, Tom Pullum:

b6 and b7 are age at death and are only coded if the child has died (b5=0). If the child is still alive (b5=1), then b6 and b7 are not applicable (NA), which is coded with a dot in Stata. These are not "missing" values, they are just NA. Thus, your 92% "missing" actually means that 92% of children are living and 8% have died. In the terminology of survival analysis, age at death is censored for 92% of the children. I hope you are using the BR file for this analysis, rather than the KR file.
Neonatal Mortality Analysis [message #20120 is a reply to message #20100] Sun, 27 September 2020 07:53 Go to previous messageGo to next message
shujaat.smc@gmail.com is currently offline  shujaat.smc@gmail.com
Messages: 31
Registered: July 2020
Member
Dear DHS Representative,

I am very much thankful to you for your quick responses.

I am following an article in which the author has mentioned that "The outcome was neonatal deaths recorded as a binary variable. The age of neonatal death was measured in days and for deaths within 24 hours value of 0.01 days was used".

For generating variables to specify my data set in stata as survival data how should I generate the time variable for neonates and specifying a value of 0.01 for death at the day of birth.

Please also comment on the outcome variable I have generated;

gen neonataldeath=1 if b6<=128
replace neonataldeath=0 if b6>=201

Best Regards

Dr. Hussain
Re: Neonatal Mortality Analysis [message #20142 is a reply to message #20120] Mon, 28 September 2020 14:33 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 1976
Registered: February 2013
Senior Member

Following is another response from DHS Research & Data Analysis Director, Tom Pullum:

The variable b6 has 3 digits. The first digit (counting from the left) is 1 if the units of measurement are days, 2 if months, 3 if years. This is mapped into b7, which is month. These are completed units. A child that dies in the first day has b6=100, for "units are days, and no days were completed" . That is, the death was on day 0. I believe that is the code you are looking for. I don't understand where "0.01" came from.
Previous Topic: Dropping of Observations
Next Topic: Creating Time Variable For Survival Analysis & Missing(Dots) Cells
Goto Forum:
  


Current Time: Tue Oct 27 14:26:56 Eastern Daylight Time 2020