The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Kenya » KDHS 2022: Table 9.7 Place of delivery
KDHS 2022: Table 9.7 Place of delivery [message #28230] Mon, 04 December 2023 10:47 Go to previous message
sokiya is currently offline  sokiya
Messages: 76
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.
 
Read Message
Read Message
Read Message
Previous Topic: Kenya DHS weights
Next Topic: KDHS 2022: Table 11.13.3 Nutritional status of men age 2049
Goto Forum:
  


Current Time: Wed May 8 08:54:15 Coordinated Universal Time 2024