The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » Other countries » Zambia hiv dataset 2001-02
Re: Zambia hiv dataset 2001-02 [message #3154 is a reply to message #3148] Fri, 24 October 2014 11:34 Go to previous messageGo to previous message
Trevor-DHS is currently offline  Trevor-DHS
Messages: 800
Registered: January 2013
Senior Member
It is not possible to use this dataset in the conventional way with the svyset command as we have no PSU identifier for this dataset. The best you can do is the following:

egen strata=group(hivprov hivresid)
svyset hivid [pweight=hiv_wgt], strata(strata)

Here we are using hivid in place of the psu, which will effectively give one case per "psu".
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Senegal- STI in last 12 months
Next Topic: DRC - outpatient care and hospitalization data
Goto Forum:
  


Current Time: Wed Jun 26 08:33:56 Coordinated Universal Time 2024