KDHS 2022: Table 9.7 Place of delivery [message #28230] |
Mon, 04 December 2023 10:47 |
sokiya
Messages: 78 Registered: May 2017 Location: Nairobi
|
Senior Member |
|
|
I am trying to replicate the column "Percentage delivered in a health facility" in Table 9.7 using the code below found from DHS GitHub repo
use "KENR8AFL.dta", clear
//Place of delivery
recode m15 (20/49 = 1 "Health facility") (10/19 9/99= 0 "Home/other"), gen(rh_del_place)
label var rh_del_place "Live births by place of delivery"
//Place of delivery - by place type
recode m15 (20/29 = 1 "Health facility - public") (30/39 = 2 "Health facility - private non-NGO") (41/46=3 "Health facility - private NGO") (10/19 = 4 "Home")(96/98 = 5 "Other") (99=9 "Missing"), gen(rh_del_pltype)
label var rh_del_pltype "Live births by type of health facility"
ta rh_del_place [iw=v005]
and am finding different results. Any help will be appreciated.
|
|
|
|
|