The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Antibiotic use for ARI - Tanzania DHS 2016
Re: Antibiotic use for ARI - Tanzania DHS 2016 [message #15298 is a reply to message #15278] Wed, 27 June 2018 11:58 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
Following is a response from DHS Technical Specialist, Shireen Assaf:

To get the correct estimates for the antibiotics use indicator you need to indicate that this is among those with ARI symptoms (i.e. you need to add ari==1 in coding the antibiotic indicator). The code below would give you the correct estimates. I also provided the same code for fever for table 10.6

*Table 10.5
gen ari=0
replace ari=1 if h31b==1 & (h31c==1 | h31c==3)
replace ari =. if b5==0
               
gen antibari=0 if ari==1
replace antibari=1 if ari==1 & h37i==1
replace antibari=1 if ari==1 & h37j==1
replace antibari=1 if ari==1 & h37n==1


*Table 10.6
gen fever=0
replace fever=1 if h22==1
replace fever=. if b5==0

gen antibf=0 if fever==1
replace antibf=1 if fever==1 & h37i==1
replace antibf=1 if fever==1 & h37j==1
replace antibf=1 if fever==1 & h37n==1
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dealing with country-specific codes with panel data across 10 countries
Next Topic: Diagnostic tests on svy data
Goto Forum:
  


Current Time: Sun Dec 1 15:42:26 Coordinated Universal Time 2024