KDHS 2014 : Table 14.10.1 Health insurance coverage: Women [message #28057] |
Mon, 06 November 2023 12:53 |
sokiya
Messages: 80 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
|
|
|
|
|