The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Sampling and Weighting Webinar June 2015 » Weighting for health outcomes
Re: Weighting for health outcomes [message #5480 is a reply to message #5477] Thu, 28 May 2015 17:55 Go to previous message
Reduced-For(u)m
Messages: 292
Registered: March 2013
Senior Member


Do you want to estimate proportions? You could just use the "svy: mean" command after creating dummy variables for each group. But in general, the weights work exactly the same with continuous or binary variables (in fact, you are just turning one continuous variable into several binary variables with the setup you describe).

So generate a variable called "severe_wasting" which equals 1 if -4<HAZ<-3 and then compute the mean of that variable using the "svy" prefix and you'll get the weighted proportion of people in that group.

Note though that you will have some people who are in none of those categories (namely, people with HAZ between -6 and -4, which can be quite a few in some of these countries).
 
Read Message
Read Message
Previous Topic: weight in Probit, Logit models
Next Topic: Weights with HIV data
Goto Forum:
  


Current Time: Sat Nov 23 13:59:55 Coordinated Universal Time 2024