The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » postnatal checkup of mother and newborn
postnatal checkup of mother and newborn [message #10169] Fri, 01 July 2016 21:36 Go to previous message
zobidaislam is currently offline  zobidaislam
Messages: 6
Registered: March 2016
Location: Dhaka
Member
Hi,

I am using Bangladesh DHS-2007 to estimate the proportion of postnatal checkup for mother and newborn by medically trained provider within two days of delivery, but the result didn't match with the report.
Could anyone kindly tell me what's wrong with my STATA code. I used kids record file.


clear all
set more off
use "/Bangladesh/BDKR2007.DTA", clear
* generate sampling weight
g wgt=v005/1000000
*generate last birth
g lbirth=1 if bidx==1
**preceding survey
gen age2_=v008 - b3< 24 & lbirth==1 //preceding two yrs survey
gen age6_59_=v008 - b3>=6 //6 months preceding survey
gen age3_=v008 - b3<36 //3 years precedding survey

//Postnatal checkup within 2 days preceding 3 years of survey
*Postnatal care for mother by Medically trained provider
gen checkm=0 if bidx==1
replace checkm=1 if bidx==1 & (s434a==1| s434b==1) & (m51<=202) //
label var checkm "mother postnatal checkup by trained provider within 2 days of delivery"
tab checkm if age3_==1 [iw=wgt] // for three years precedding the survey
tab checkm [iw=wgt] // for five years precedding the survey // page-123 BDHS-2007

*Postnatal care for infant by Medically trained provider
gen checkc=0 if bidx==1
replace checkc=1 if bidx==1 & (s439a==1| s439b==1) & m71<=202
label var checkc "postnatal checkup of newborn by trained provider within 2 days of delivery"
tab checkc if age3_==1 [iw=wgt] // for three years precedding the survey
tab checkc [iw=wgt] // for five years precedding the survey // page-124 BDHS-2007


Thank you in advance.

Regards,
Zobi

[Updated on: Fri, 01 July 2016 21:37]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Cross country analysis
Next Topic: sampling stratification of the Cameroon DHS 2011, 2004, 1998 and 1991 data
Goto Forum:
  


Current Time: Sun Apr 28 21:52:35 Coordinated Universal Time 2024