Query Formula breastfeeding median [message #11282] |
Mon, 28 November 2016 10:52 |
DHS user
Messages: 111 Registered: February 2013
|
Senior Member |
|
|
We are working with DHS datasets, specifically about breastfeeding. We are calculating the exclusive breastfeeding median using the formula available in the page 124 of material "Guide to DHS Statistics" (median = mi-1 + (pi-1 0.5)/(pi-1 pi ) x (w i)). Our doubt is how to calculate the median when the first proportion of breastfeeding (pi) is lower than 50%. Besides, how to calculate when the proportion of breastfeeding in the last age range (4-5 months) is higher than 50%.
|
|
|
Re: Query Formula breastfeeding median [message #11283 is a reply to message #11282] |
Mon, 28 November 2016 10:54 |
Bridgette-DHS
Messages: 3214 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS Stata Specialist, Tom Pullum:
Quote:If the proportion in the first interval is less than .50, then I think it would be best just to say that the median duration is <1 month. If the proportion in the final interval is more than .50, then it would be best to say that the median duration is greater than the final month in your data.
The DHS calculation is not simple. It may change in the future to use day of birth, not just the month and year of birth (and the surveys always give the day, month, and year of interview). If you are having difficulty matching the DHS calculation, please tell us what survey you are using.
|
|
|