Mortality rates and binary variable [message #19823] |
Tue, 18 August 2020 10:39 |
Chery87
Messages: 6 Registered: November 2019
|
Member |
|
|
I have been working on U5M by assigning value 1 for children who are alive and 0 otherwise. The stata commands I am using are as follows.
I am using Ethiopia DHS of 2016: ETKR71DT
gen wt= v005/10^6
svyset psu[pweight=wt], strata(strata)
gen ch_alive=b5
label var ch_alive "child is alive"
gen ch_died=1-b5
tab ch_alive ch_died
gen ch_age=hw1
replace ch_age=b7 if hw1==.
gen ch_59=0
recode ch_59 0=1 if ch_age<60
replace ch_59= ch_age if ch_age==.
svy: regress ch_died (this gives the mean of the variable, which I am considering it as the rate)
However, the coefficient is not even comparable to the u5mr calculated in the DHS report. It does work for the malnutrition indicators but not for my estimation of u5mr.
Any technical support to deal with this, the soonest reply the best will be.
Thank you very much in advance.
Chery
|
|
|