The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » PSU and strata identifiers - Egypt
Re: PSU and strata identifiers - Egypt [message #15909 is a reply to message #10267] Fri, 05 October 2018 10:35 Go to previous messageGo to previous message
laurajbrown@exwh.org is currently offline  laurajbrown@exwh.org
Messages: 12
Registered: August 2018
Location: London
Member
Hi DHS users,

I have a similar issue to Nora but for the 1988 survey. I am unsure how I should add weights in this instance. For most other DHS surveys I am analysing, I use the code below in Stata:

generate wgt = v005/1000000
svyset[pw=wgt], psu(v021) strata(v022) singleunit(centered)

However neither the 1988 Egypt IR file nor the HH file contain suitable variables for psu or strata. Using the replies to Nora's post I figured I could construct the psu as follows:
gen v021=int(v001/10000)

but I am stumped on the strata variable. Is it based on urban and rural in this survey as previous replies to this thread would suggest? And if so, do I just use the v102 "type of place of residence" variable to construct it like so:
gen v022=v102

making my final weighting code as follows:

generate wgt = v005/1000000
gen v021=int(v001/10000)
gen v022=v102
svyset[pw=wgt], psu(v021) strata(v022) singleunit(centered)

Or am I missing something?

Thanks for your help!

Laura





 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: domestic violence weight
Next Topic: India Weights SAS and Merging
Goto Forum:
  


Current Time: Sat Sep 6 14:00:52 Coordinated Universal Time 2025