Re: child nutrition BDHS-2011 [message #2566 is a reply to message #2565] |
Mon, 14 July 2014 02:29 |
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
|
|
|