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?)
Postnatal Care for Mothers [message #19010] Fri, 03 April 2020 05:45 Go to next message
fadhilatunnisa is currently offline  fadhilatunnisa
Messages: 3
Registered: April 2020
Location: Indonesia
Member
Hello, i've been doing analysis on SPSS about postnatal care for mothers using Indonesia Children's Recode (IDKR71FL). The report shows that total mother's with a live birth in the 2 years preceding the survey is 6.616 but when i'm using this syntax i got 6.614. How to get this calculation right?
  • Attachment: Syntax1.sps
    (Size: 1.38KB, Downloaded 74 times)
Re: Postnatal Care for Mothers [message #19235 is a reply to message #19010] Tue, 12 May 2020 11:57 Go to previous messageGo to next message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 735
Registered: January 2013
Senior Member
I think there are two issues:
1) In your code you are using:
IF (MIDX EQ 1 AND B19 LE 24) birth2 = 1.
but this should be LESS THAN (LT) 24
IF (MIDX EQ 1 AND B19 LT 24) birth2 = 1.
If I use this code and then tabulate birth2 (with weights on) I have 6616 cases of birth2 = 1, matching the report.
2) I think your further code is then dropping some other cases that should be kept, probably because on of the variables is still set to SYSMIS. I didn't try to work out where exactly the problem is.
Re: Postnatal Care for Mothers [message #19499 is a reply to message #19235] Thu, 02 July 2020 08:30 Go to previous messageGo to next message
fadhilatunnisa is currently offline  fadhilatunnisa
Messages: 3
Registered: April 2020
Location: Indonesia
Member
thank you!!! it really help me a lot!!! by the way can you show me how to get type of health provider who checked postnatal for mother within 2 years? am i supposed to combined variable M64$1(Who checked respondent health before discharge) and M68$1(Who checked respondent health after discharge/delivery at home)? i will be very thankful if you show me the syntax, thanks again!!
Re: Postnatal Care for Mothers [message #19500 is a reply to message #19499] Thu, 02 July 2020 09:55 Go to previous messageGo to next message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 735
Registered: January 2013
Senior Member
The logic for constructing the provider information is described in the Guide to DHS Statistics. Example code for calculating indicators can be found in the DHS Code Share Library on github.
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

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


Current Time: Thu Dec 3 08:52:52 Coordinated Universal Time 2020