The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » EBF Jordan 1990 (Reproduce EBF estimate for Jordan 1990)
EBF Jordan 1990 [message #29959] Thu, 29 August 2024 11:54 Go to previous message
staranalyst is currently offline  staranalyst
Messages: 4
Registered: August 2024
Member
Hello DHS colleagues,

I am trying to reproduce the EBF estimate for Jordan 1990. According to the Jordan 2023 DHS Summary Report (attached), Figure 8 Trends in exclusive breastfeeding, the official estimate for is 39%. However, using the KR file and the following STATA code, I got 23.95% with a weighted sample size of 724.7. Please advise.


*load in dataset
	use "$jordhsraw\1990\JOKR21DT\JOKR21FL", clear

*create an age var
	gen age_ch=v008-b3

*drop all vars with bf in it
	capture drop *bf*

*exclusive breastfeeding
	*generate an othfood var to indicate if consumed other foods.
	capture drop othfood
	egen othfood=rowtotal(v409 v409a v410 v410a v411 v411a v412 v413a v413 v414), missing

*create ebf based on age range, last-born, living with mother, current bf status, and other food consumed
	*age_ch<6 smaller than 6 month of age 
	*b9==0 lives with mother 
	*m4==95 currently breastfeeding for the specific child 
	*othfood==0 did not consume any other foods 
	gen ebf=.
	replace ebf=0 if age_ch<6 & b9==0 & midx==1
	replace ebf=1 if age_ch<6 & b9==0 & m4==95 & midx==1 & othfood==0
	bigtab ebf age_ch othfood 
	
	*validate the estimate against DHS report 
	*23.95% Sample size 724.7 Not validated. 
	tab ebf [iweight=v005/1000000]


 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Missing women's weight and height measurements in DHS-8
Next Topic: Fish consumption, DHS8
Goto Forum:
  


Current Time: Tue Nov 26 06:59:04 Coordinated Universal Time 2024