The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Dataset use in Stata » Combined men/women/hiv dataset
Combined men/women/hiv dataset [message #2359] Sun, 08 June 2014 19:18 Go to previous message
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
 
Read Message
Read Message
Previous Topic: Infant data(less then 1 yr) from Children data
Next Topic: Setting up pooled DHS data as panel
Goto Forum:
  


Current Time: Mon Nov 25 08:59:30 Coordinated Universal Time 2024