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
 Shireen-DHS Messages: 140Registered: 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]

 Postnatal Care By: Samia Aziz on Wed, 12 August 2020 20:30 Re: Postnatal Care By: Bridgette-DHS on Fri, 14 August 2020 09:13 Re: Postnatal Care By: Samia Aziz on Tue, 18 August 2020 23:47 Re: Postnatal Care By: Bridgette-DHS on Wed, 19 August 2020 10:52 Re: Postnatal Care By: Samia Aziz on Tue, 08 September 2020 09:11 Re: Postnatal Care By: Shireen-DHS on Fri, 11 September 2020 10:09 Re: Postnatal Care By: Samia Aziz on Mon, 21 September 2020 19:34 Re: Postnatal Care By: Shireen-DHS on Fri, 25 September 2020 09:45 Re: Postnatal Care By: Samia Aziz on Thu, 03 June 2021 10:25 Re: Postnatal Care By: Bridgette-DHS on Mon, 07 June 2021 09:43 Re: Postnatal Care By: Samia Aziz on Mon, 07 June 2021 10:23 Re: Postnatal Care By: Bridgette-DHS on Mon, 07 June 2021 16:08
 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: Sun Aug 4 16:00:42 Coordinated Universal Time 2024