The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Exclusive breastfeeding
Exclusive breastfeeding [message #8517] Sun, 08 November 2015 15:33 Go to next message
sumonrupop is currently offline  sumonrupop
Messages: 23
Registered: August 2015
Location: Rajshahi
Member

Hi,

I am want to calculate exclusive breastfeeding by using BDHS-2011 data. I developed the following do file and used birth record data. But it give the different result reported in Table 11.2 in BDHS-2011 report.

clear all
set more off
use "D:\ALL BDHS STATA\Child mortality\BDBR61FL.DTA"
keep if v008 - b3 < 24
gen long momid = ((8000 + v001) * 10000) + (v002 * 100) + v003
by momid (bidx), sort: gen byte lastchild = sum(b5) == 1 & sum(b5[_n - 1]) == 0
gen byte exlbreast_subpop = 1 if (v008 - b3) < 6 & lastchild == 1 & b9 == 0
replace exlbreast_subpop= 0 if exlbreast_subpop==.
label define exlbreast_subpop 1"exclusively breastfeed" 0"Not exclusively breastfeed"
label values exlbreast_subpop exlbreast_subpop
tab exlbreast_subpop

Can anyone help me in this matter? It would be better if anyone suggest me what is wrong and supply coding accordingly.


Md. Nuruzzaman Khan
Re: Exclusive breastfeeding [message #8519 is a reply to message #8517] Sun, 08 November 2015 16:28 Go to previous messageGo to next message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member

I think at least one of the differences is that you did not weight your results. Try adding this:

egen strata = group(v024 v025), label
svyset [pweight=weight], psu(v021) strata(strata)

svy: tab exlbreast_subpop
Re: Exclusive breastfeeding [message #8818 is a reply to message #8519] Tue, 22 December 2015 22:24 Go to previous messageGo to next message
mannap is currently offline  mannap
Messages: 2
Registered: November 2015
Member
Hello,

I am also trying to calculate the EBF rate from Philippines 2008 DHS. I have used the commands below along with the weighting, but still not getting the same figure as in other sources. Did you manage to figure out the right commands?

Thank you
Re: Exclusive breastfeeding [message #8840 is a reply to message #8818] Wed, 30 December 2015 15:19 Go to previous message
Liz-DHS
Messages: 1516
Registered: February 2013
Senior Member
Dear User,
This thread may be useful in calculating Exclusive Breastfeeding: http:// userforum.dhsprogram.com/index.php?t=msg&th=294&goto =8761&S=7eeead4d77e952c5f6182689c6491aaa#msg_8761
If this does not help, please feel free to post again. Thank you!
Previous Topic: More questions on exclusive breastfeeding syntax
Next Topic: HAZ and WHZ records in PR and KR
Goto Forum:
  


Current Time: Fri Mar 29 02:10:49 Coordinated Universal Time 2024