Home » Data » Dataset use in Stata » Combined men/women/hiv dataset
Combined men/women/hiv dataset [message #2359] |
Sun, 08 June 2014 19:18  |
carolina07
Messages: 1 Registered: June 2014
|
Member |
|
|
Hello, we are analyzing behavioral characteristics among HIV positives in several countries separately. We have merged the IR (women), MR (men), and the HIV dataset into a single dataset for each country.
Is it correct to analyze men and women combined while applying the HIV weight, as in the below example?
gen float hiv_weight = hiv05 / 1000000
tab x1 x2 [iw=hiv_weight]
egen strata = group(v024 v025) // Note: this depends on the country
svyset [pweight=hiv_weight], psu(v021) strata(strata)
svy: logistic y x1 x2 // Note: adjusting for sex
|
|
|
|
Goto Forum:
Current Time: Wed Apr 30 12:16:19 Coordinated Universal Time 2025
|