The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » Postnatal Care for Mothers (Is my calculation wrong?)
Re: Postnatal Care for Mothers [message #19503 is a reply to message #19500] Fri, 03 July 2020 21:36 Go to previous message
fadhilatunnisa is currently offline  fadhilatunnisa
Messages: 3
Registered: April 2020
Location: Indonesia
Member
Thank you for your help Trevor, i really appreciate it. But i still confused with it.

First, i already tried this syntax to get PNC providers for mother WITHIN 2 DAYS AFTER GIVING BIRTH. But how can i get the providers who check mother not in 2 days? i mean there are categorize of 3-6 days after delivery, 7-41 days, and don't know? how do i get that? please i really need your help. thank you again!

rh_pnc_wm_2days=1 is "within 2 days"
rh_pnc_wm_2days=0 is "not in 2 days"

*Providers of PNC for facility deliveries.
+ recode m64$1 (0 = 0) (11 = 1) (12,13 = 2) (14,15 = 3) (16 thru 90 = 4) (96 = 5) (else = 9) into pnc_wm_pv_hf.
+ if not (age<24 & rh_pnc_wm_2days=1) pnc_wm_pv_hf = $sysmis.
+ if (rh_pnc_wm_2days=0 & age<24) pnc_wm_pv_hf = 0.
+ value labels pnc_wm_pv_hf
0 "No check"
1 "Doctor"
2 "Nurse/Midwife"
3 "Other skilled provider"
4 "Non-skilled provider"
5 "Other"
9 "Don't know or missing".

*Providers of PNC for home deliveries or checks after discharge.
+ recode m68$1 (0 = 0) (11 = 1) (12,13 = 2) (14,15 = 3) (16 thru 90 = 4) (96 = 5) (else = 9) into pnc_wm_pv_home.
+ if not (age<24 & rh_pnc_wm_2days=1) pnc_wm_pv_home = $sysmis.
+ if (rh_pnc_wm_2days=0 & age<24) pnc_wm_pv_home = 0.
+ value labels pnc_wm_pv_home
0 "No check"
1 "Doctor"
2 "Nurse/Midwife"
3 "Other skilled provider"
4 "Non-skilled provider"
5 "Other"
9 "Don't know or missing".

*Combine two PNC provider variables.
+ compute rh_pnc_wm_pv = pnc_wm_pv_hf.
+ if (pnc_wm_pv_hf=9 & rh_pnc_wm_2days=1 & age<24) rh_pnc_wm_pv = pnc_wm_pv_home.
+ variable labels rh_pnc_wm_pv "Provider for mother's PNC check".

[Updated on: Fri, 03 July 2020 21:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Education of Young Men
Next Topic: Indonesia 2017 report
Goto Forum:
  


Current Time: Sun Aug 4 10:16:19 Coordinated Universal Time 2024