anonymous-submission-acl2025's picture
add 21
7694c07
* Misallocation
la var RXexpected_mal_match_any "Overall Match"
la var expected_mal_match_any "Overall Match"
g RXexpected_mal_match_anyX= RXexpected_mal_match_any if RXmatch_treat_RDT!=.
g expected_mal_match_anyX= expected_mal_match_any if RXmatch_treat_RDT!=.
la var expected_mal_match_any_pos "Malaria Positive"
la var RXexpected_mal_match_any_pos "Malaria Positive"
la var expected_mal_match_any_neg "Malaria Negative"
la var RXexpected_mal_match_any_neg "Malaria Negative"
la var RXexpected_mal_match_anyX "Prescribed"
la var expected_mal_match_anyX "Purchased"
la var RXmatch_treat_RDT "Prescribed"
la var match_treat_RDT "Purchased"
g match_treat_RDT_pos= match_treat_RDT*RDTresult_POS
g match_treat_RDT_neg= match_treat_RDT*RDTresult_NEG
g testtype= reported_RDT + 2*reported_GE_FS
replace testtype=. if reported_Malaria_test==1 & testtype==0
la define testtype 0 "No Malaria Test" 1 "RDT Only" 2 "Microscope Only" 3 "RDT+Microscope"
la val testtype testtype
gr bar RDTresult_POS match_treat_RDT match_treat_RDT_pos match_treat_RDT_neg , over(testtype) ///
legend(label(1 "Positive Home Test") label(2 "Overall Match") label(3 "Match: Positive+Antimalarial") label(4 "Match: Negative+No Antimal.") size(small)) graphregion(color(white)) bar(1, color(gs0)) bar(2, color(gs5)) bar(3, color(gs10)) bar(4, color(gs14))
graph export "$graphs/B1_misallocation.pdf", replace