Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ label var PCExp_ECMEN "Household Economic Capacity per capita - monthly"
*--------------------------------------------------------------------
gen ECMEN_exclAsst = . // initialize as missing

replace ECMEN_exclAsst = (PCExp_ECMEN > MEB) if !missing(PCExp_ECMEN) | !missing(MEB)
replace ECMEN_exclAsst = (PCExp_ECMEN >= MEB) if !missing(PCExp_ECMEN) | !missing(MEB)

label var ECMEN_exclAsst "Economic capacity to meet essential needs - excluding assistance"

Expand All @@ -493,11 +493,11 @@ tabulate ECMEN_exclAsst
*--------------------------------------------------------------------
gen ECMEN_exclAsst_SMEB = . // start as missing * Compute only if NOT (both are missing)

replace ECMEN_exclAsst_SMEB = (PCExp_ECMEN > SMEB) if !missing(PCExp_ECMEN) | !missing(SMEB)
replace ECMEN_exclAsst_SMEB = (PCExp_ECMEN >= SMEB) if !missing(PCExp_ECMEN) | !missing(SMEB)

label var ECMEN_exclAsst_SMEB "Economic capacity to meet essential needs - SMEB - excluding assistance"

label define smeblbl 1 "Above SMEB" 0 "Below SMEB"
label values ECMEN_exclAsst_SMEB smeblbl

tabulate ECMEN_exclAsst_SMEB
tabulate ECMEN_exclAsst_SMEB