The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » PSU and Strata identifiers - DV module Nepal
PSU and Strata identifiers - DV module Nepal [message #17971] Sat, 03 August 2019 20:50 Go to next message
Rashu is currently offline  Rashu
Messages: 1
Registered: August 2019
I am doing research using the data from DHS 2016. I am only using a sample of women who participated in the domestic violence module.

I am trying to use the svyset option to weight my data. I found that v021 is labeled PSU and v022 is labeled as sample strata. So that I used the following command, but I am not sure if I used the correct one or not?

gen wgt=d005/1000000
svyset [pw=wgt], psu(v021) strata(v022)

pweight: wgt
VCE: linearized
Single unit: missing
Strata 1: v022
SU 1: v021
FPC 1: <zero>

Thank You.

[Updated on: Sat, 03 August 2019 20:52]

Report message to a moderator

Re: PSU and Strata identifiers - DV module Nepal [message #18013 is a reply to message #17971] Fri, 16 August 2019 14:21 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3113
Registered: February 2013
Senior Member

Following is a response from DHS Research & Data Analysis Director, Tom Pullum:

In this survey, v022 and v023 are the same. They have different variable labels, but if you do "tab1 v022 v023" you will get identical distributions. Your specification of svyset is correct. However, you would get the same results with this:

svyset [pw=d005], psu(v021) strata(v022)

It isn't necessary to divide d005 by 1000000; Stata will automatically normalize the weights to have a mean of 1.
Previous Topic: Pooling cross country IPUMS-DHS data for all available surveys; using svset
Next Topic: Using normalized weight in analysis
Goto Forum:

Current Time: Fri Jul 12 18:52:33 Coordinated Universal Time 2024