The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Mortality » Calculating for Infant Mortality Rate
Calculating for Infant Mortality Rate [message #517] Wed, 05 June 2013 21:23 Go to next message
e.macarayan@uq.edu.au is currently offline  e.macarayan@uq.edu.au
Messages: 1
Registered: May 2013
Location: Brisbane Queensland
Member
Hi! I would like to compute for the IMR per province in the Philippines, but I am having trouble with the way it's supposed to be. Using the weights (gen weight = int(v005/1000000)) creates "0" IMR for some provinces. I wonder why this happens.

Can anyone help me? This is what I have done so far. Thanks so much! I'd surely appreciate.

//Birthdate
gen kdobyy = int((b3-1)/12) + 1900
sum kdobyy, detail
label variable kdobyy "child's year of birth"
gen kdobmm = b3 - ((kdobyy-1900)*12)
sum kdobmm, detail
label variable kdobmm "child's month of birth"
gen bdate = ym(kdobyy,kdobmm)

//Survey date
gen intyy = int((v008-1)/12) + 1900
sum intyy, detail
gen intmm = v008 - ((intyy-1900)*12)
sum intmm, detail
gen surveydate = ym(intyy,intmm)

//Age at measurement
gen kintageyy = intyy - kdobyy
sum kintageyy, detail
label variable kintage "child's age in years"
gen kagemm = kintageyy*12
sum kagemm, detail
label variable kagemm "child's age in months"
gen kintagemm = intmm - kdobmm
sum kintagemm, detail
label variable kintagemm "additional child's month age"
gen kage = kagemm + kintagemm
sum kage, detail
label variable kage "age of child in months at the time of interview"
**double check:
gen measureage = surveydate - bdate


//b5: Alive? 0 No 1 Yes
gen alive = b5 == 1
gen dead = b5 == 0

//b7: Age at death (months imputed)
gen agedeath = b7

//Covariates
ren v024 region
gen weight = int(v005/1000000)
egen strata = group(sprov), label
tab strata
svyset[pweight=weight],psu(sprov) strata(strata)

[Updated on: Wed, 05 June 2013 21:25]

Report message to a moderator

Re: Calculating for Infant Mortality Rate [message #570 is a reply to message #517] Tue, 25 June 2013 12:05 Go to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
You may find some guidance by looking at the Guide to DHS Statistics. http://www.measuredhs.com/pubs/pdf/DHSG1/Guide_to_DHS_Statis tics_29Oct2012_DHSG1.pdf. The publication is bookmarked. The tab for "Infant and Chil Mortality" should be of some help to you.
Next Topic: fiting cox model to neonatal mortality data
Goto Forum:
  


Current Time: Tue Apr 23 12:05:34 Coordinated Universal Time 2024