The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » IWeight -EDHS
IWeight -EDHS [message #14214] Mon, 05 March 2018 11:18 Go to previous message
reemnabil is currently offline  reemnabil
Messages: 1
Registered: March 2018
Location: United States
Member
Hi,

I am using the 1995, 2003 and 2014 EDHS - Egypt child Recode datasets as I want to look at the changes in stunting over time. I am doing an oaxaca and dfl decomposition. I plotted the density of the Height - for - age Z score (HAZ), once using weights and once without weights and the graphs look different. I used the following code for weights

gen sampwt = v005/1000000
gen psu = v021
gen strata = v022

tab stunting [iweight=sampwt]
svyset[pw=sampwt], psu(psu) strata(strata)

Now, when I run the dfl code I can't use weights, and so I know that the result I get will not be a nationally representative one. I watched the DHS video and it said to use iweights. My question is why should we use iweights instead of fweights, and if I want to run the dfl, and it doesn't allow for weights, is there a way I can change the variables to include the weights and then run the dfl on the weighted data.

Thank you,
Reem


Reem Hashad
 
Read Message
Read Message
Previous Topic: Weighting in multilevel model with pooled data
Next Topic: Correct Way to Do Sample Weighting for Cross-Sectional Pooled Data from Kenya
Goto Forum:
  


Current Time: Thu Jun 30 18:01:38 Coordinated Universal Time 2022