The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » Calculation of median exclusive breastfeeding
Re: Calculation of median exclusive breastfeeding [message #12336 is a reply to message #11364] Tue, 02 May 2017 18:48 Go to previous messageGo to previous message
voddo is currently offline  voddo
Messages: 6
Registered: February 2016
Member
I'm working on a cross-country analysis - using ~ 50 DHS datasets and am having a hard time with the median duration of breastfeeding variable. Per the stats users guide its a moving median and since I'm using so many countries of data I'm hoping to generate this variable using a loop. Would you be able to provide any stata code to appropriately estimate median duration of BF?

thank you!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Food Security
Next Topic: Format of Percentile and SD
Goto Forum:
  


Current Time: Mon Dec 23 18:59:39 Coordinated Universal Time 2024