Re: Weighting for health outcomes [message #5480 is a reply to message #5477] |
Thu, 28 May 2015 17:55 |
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).
|
|
|