The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Kenya » KDHS 2014 : Table 14.10.1 Health insurance coverage: Women
KDHS 2014 : Table 14.10.1 Health insurance coverage: Women [message #28057] Mon, 06 November 2023 12:53 Go to previous message
sokiya is currently offline  sokiya
Messages: 79
Registered: May 2017
Location: Nairobi
Senior Member
I am trying to replicate Table 14.10.1 Health insurance coverage: Women in KDHS 2014 main report using the syntax below that I got from DHS GitHub repo
use "KEIR71FL.dta", clear

*** Health insurance ***
* Note: The different types of health insurance can be country specific. Please check the v481* variables to see which ones you need.
* In addition, some surveys report this for all women/men and some report it among those that have heard of insurance. Please check what the population of interest is for reporting these indicators.
//Health insurance - Social security
gen rc_hins_ss = v481c==1
label var rc_hins_ss "Health insurance coverage - social security"

//Health insurance - Other employer-based insurance
gen rc_hins_empl = v481b==1
label var rc_hins_empl "Health insurance coverage - other employer-based insurance"

//Health insurance - Mutual Health Organization or community-based insurance
gen rc_hins_comm = v481a==1
label var rc_hins_comm "Health insurance coverage - mutual health org. or community-based insurance"

//Health insurance - Privately purchased commercial insurance
gen rc_hins_priv = v481d==1
label var rc_hins_priv "Health insurance coverage - privately purchased commercial insurance"

//Health insurance - Other
gen rc_hins_other=0
	foreach i in e f g h x {
	replace rc_hins_other=1 if v481`i'==1
	} 
label var rc_hins_other "Health insurance coverage - other type of insurance"

//Health insurance - Any
gen rc_hins_any=0
	foreach i in a b c d e f g h x {
	replace rc_hins_any=1 if v481`i'==1
	}
label var rc_hins_any "Have any health insurance"

ta rc_hins_any [iw=v005/1000000]

However, the result doesn't match what is in the report
 
Read Message
Read Message
Read Message
Previous Topic: Merging KR and PR files
Next Topic: Table 5.12 in KDHS 2022 Report
Goto Forum:
  


Current Time: Sun Dec 1 07:34:59 Coordinated Universal Time 2024