The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Topics » Nutrition and Anthropometry » child nutrition BDHS-2011
Re: child nutrition BDHS-2011 [message #2566 is a reply to message #2565] Mon, 14 July 2014 02:29 Go to previous messageGo to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member


You need to use the survey weights to get the DHS report numbers. See the FAQ under "using data files"

http://dhsprogram.com/faq.cfm


Here is some example code for setting up the weigthts, and then you would want to use "svy: tab stunted" to calculate stunting rates.

Example Stata code:
*generate weight
generate weight = v005/1000000
*make unique strata values by region/urban-rural (label option automatically labels the results)
egen strata = group(v024 v025), label
*check results tab strata
*tell Stata the weight (using pweights for robust standard errors), cluster (psu), and strata:
svyset [pweight=weight], psu(v021) strata(strata)

- See more at: http://dhsprogram.com/faq.cfm#sthash.QTqZEALu.dpuf
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Haz weighted mean
Next Topic: More questions on exclusive breastfeeding syntax
Goto Forum:
  


Current Time: Wed Apr 24 09:26:43 Coordinated Universal Time 2024