The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Sampling » Couple data: sampling and weights (Three questions on sampling and weights for couple data)
Re: Couple data: sampling and weights [message #23288 is a reply to message #23286] Mon, 16 August 2021 14:25 Go to previous messageGo to previous message
Shireen-DHS is currently offline  Shireen-DHS
Messages: 140
Registered: August 2020
Location: USA
Senior Member
Hello,

All you need to do in this case is add the option singleunit(centered) as follows:

svyset [pw=wgt], psu (v021) strata (v023) singleunit(centered)

For couples data, please use the men's weight (mv005). You should divide this weight by 1000000.

I am uncertain about your question about the desired sex ratio at the community level. Perhaps you can take the average ratio in each cluster? You can get this with the following code assuming your sex ratio variable is idealratio. Be sure to recode non-numeric responses as missing before using variables related to ideal number of children/boys/girls.

bysort v001: egen idealratioclus=mean(idealratio)


Thank you.

Best,
Shireen Assaf
The DHS Program
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GIS data and location of cluster
Next Topic: Sample inclusion criteria
Goto Forum:
  


Current Time: Fri Nov 22 00:09:52 Coordinated Universal Time 2024