The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Data » Weighting data » Weighting in Namibia 2013
Weighting in Namibia 2013 [message #13073] Thu, 14 September 2017 21:51 Go to next message
Messages: 7
Registered: February 2017
Hi all.

For Namibia 2013, I've merged the person recode with the men's dataset to track down the men's individual sample weights. However, when I merge into the PR dataset, I am missing quite a few men's individual sampling weights.

use "c: /NMMR61FL.dta", clear
rename mv001 hv001
rename mv002 hv002
rename v003 hvidx
gen in_IR=1
sort hv001 hv002 hvidx

save "c:/NMMR61FL.dta", replace

use "c: NMPR61FL.dta", clear
gen in_PR=1
sort hv001 hv002 hvidx

merge hv001 hv002 hvidx using "c:/NMMR61FL.dta"

tab1 _merge in_PR in_IR

keep if in_PR==1 & in_IR==1

tab _merge
drop _merge

Am I missing something here? Thanks!
Re: Weighting in Namibia 2013 [message #13362 is a reply to message #13073] Fri, 27 October 2017 11:41 Go to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 2675
Registered: February 2013
Senior Member
Follow-up email sent to user.
Previous Topic: De-normalizing weights and svyset command in Stata
Next Topic: Weighting data for descriptive analysis of background characteristics
Goto Forum:

Current Time: Wed Feb 8 15:54:09 Coordinated Universal Time 2023