The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Bangladesh 2014 - Antibiotics for ARI
Bangladesh 2014 - Antibiotics for ARI [message #11611] Mon, 16 January 2017 15:37 Go to previous message
fewerling is currently offline  fewerling
Messages: 19
Registered: November 2016
Location: Brazil
Member
Dear all,

We are trying to reproduce the % of children with ARI symptoms that were given antibiotics for Bangladesh 2014 (Table 10.8 in the country report).
We are using the following codes to calculate the results:

** KR dataset **
gen abari=.
replace abari=0 if h31b==1 & inlist(h31c,1,3)
egen byte _abari=anymatch(h32a h32b h32c h32d h32e h32f h32g h32h h32i h32j h32l h32n h32s h32t h32u h32v h32w), v(1)
recode abari (0=1) if _abari==1
svyset v021 [pweight=v005]
svy: prop abari



Survey: Proportion estimation

Number of strata = 1 Number of obs = 406
Number of PSUs = 267 Population size = 416668524
Design df = 266

------------------------------------------------------------ --
| Linearized
| Proportion Std. Err. [95% Conf. Interval]
-------------+---------------------------------------------- --
abari |
0 | .9158814 .0160748 .8783446 .9425932
1 | .0841186 .0160748 .0574068 .1216554
------------------------------------------------------------ --

We found an estimate of 8.4% and a weighted sample size of 417, however the results in the report are 34.2% and sample size is the same (417).

Are we missing antibiotic variables in the code?

Thanks!

Best regards,
Fernanda
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need Guidance- Predictors of stunting
Next Topic: hypertension
Goto Forum:
  


Current Time: Sat Apr 20 00:16:56 Coordinated Universal Time 2024