The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » treatment seeking for ARI: Bangladesh DHS 2014
Re: treatment seeking for ARI: Bangladesh DHS 2014 [message #9540 is a reply to message #9477] Mon, 11 April 2016 09:43 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3167
Registered: February 2013
Senior Member
Following is a response from DHS Stata Specialist, Shireen Assaf:

Your code is correct except for the inclusion of some of the treatment variables particularly h32z.

If you use the following code below you will match the report:

***********
use "BDKR70FL.DTA" , clear

* generate sampling weight
g wgt=v005/1000000

*symptoms of ARI (%)
gen ari=0 if b5==1 // b5: child is alive
replace ari=1 if b5==1 & h31b==1 & (h31c==1 | h31c==3)
tab ari [iw=wgt]

* treatment for ARI
gen treat= 0 if ari==1
foreach x in a b c d e f g h i j l n s t u v w {
replace treat=1 if ari==1 & h32`x'==1
}

ta treat [iw=wgt]

------------

As described in the DHS recode manual, h32z is described as:
"Whether the child was taken to a medical facility for treatment of the fever and/or cough. This usually includes being taken to all Public Sector facilities and all Medical Private Sector
facilities except for Pharmacy. This variable is a summary of these preceding variables as is used in the final reports."

http://www.dhsprogram.com/publications/publication-dhsg4-dhs -questionnaires-and-manuals.cfm

So h32z should not be included when you generate the treat variable.
 
Read Message
Read Message
Previous Topic: Stata Help
Next Topic: Is there a way to add household member's information to birth's recode file?
Goto Forum:
  


Current Time: Sun Oct 6 16:18:03 Coordinated Universal Time 2024