The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Bangladesh » Postnatal Care (variable contain values that is not understandable)
Re: Postnatal Care [message #19988 is a reply to message #19958] Fri, 11 September 2020 10:09 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello Samia,

If you are trying to match Table 9.10 of the BDHS 2014 Final report you need to perform several checks to match the Table. For instance, you would need to see the type of provider giving the postnatal check.

Please study the code below that will give you a match with the table.

Thank you.

Best,
Shireen Assaf
The DHS Program

*child's age, this is used to select for births in the last 3 years
gen age = v008 - b3_01

//PNC timing for mother
*did the mother have any check
gen momcheck = 0 if age<36
replace momcheck = 1 if (m62_1==1 | m66_1==1) & age<36

*PNC timing for mother
recode m51_1 (100/103 = 1 "<4hr") (104/123 200 = 2 "4-23hrs") (124/171 201/202 = 3 "1-2 days") ///
(172/197 203/206 = 4 "3-6 days") (207/241 301/305=5 "7-41 days") ///
(198/199 298/299 398/399 998/999 = 9 "dont know/missing") (242/297 306/397 = 0 "no pnc check") (else=0) if (age<36 & momcheck==1) , g(rh_pnc_wm_timing)
replace rh_pnc_wm_timing = 0 if m50_1==0 | m50_1==9
*recode as no PNC if not performed by a trained provider
replace rh_pnc_wm_timing = 0 if (m52_1>15 & m52_1<97) | m52_1==.
replace rh_pnc_wm_timing=. if age>=36 | bidx_01!=1
label var rh_pnc_wm_timing "Timing after delivery for mother's PNC check"

gen wt=v005/1000000

tab rh_pnc_wm_timing [iw=v005/1000000]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing BMI values in the DHS from 2011
Next Topic: impact of family composition on unmet need for family planning in Pakistan
Goto Forum:
  


Current Time: Wed Nov 27 13:45:37 Coordinated Universal Time 2024