Variable v034: merging datasets [message #24738] |
Sun, 03 July 2022 11:40 |
salome
Messages: 19 Registered: August 2021
|
Member |
|
|
Good afternoon,
I am trying to understand the number of women's partners who were not in the household at the time of the women's interview as a proportion of women who declare to be cohabiting/married. v034 has an option of 0: husband not in the household). If a man is not in the household, does this mean that he did not participate in the male DHS survey? Essentially, would I be able to look at any data from men who "are not in the household"? (v034 = 0). I assume not, but I wanted to check.
Thank you in advance.
|
|
|
|
|
|
|
Re: Variable v034: merging datasets [message #24887 is a reply to message #24789] |
Thu, 28 July 2022 00:19 |
salome
Messages: 19 Registered: August 2021
|
Member |
|
|
Hello
Sorry to bother you again, but I was wondering in DHS how are couples datasets created - by merging men's dataset to women's or the other way around? I found on the website that "DHS, men's questionnaires are only applied to a sub-sample of households. This means that not all currently married women have a match with a men's questionnaire. In this case, the base file should be the men's questionnaire and the resulting file (unit of analysis) will be the Couples file", however I also noticed that there is a variable on whether a household was selected for male survey in the household dataset so I was wondering...
[Updated on: Thu, 28 July 2022 09:28] Report message to a moderator
|
|
|
Re: Variable v034: merging datasets [message #24911 is a reply to message #24887] |
Mon, 01 August 2022 12:33 |
Janet-DHS
Messages: 909 Registered: April 2022
|
Senior Member |
|
|
Following is a response from DHS Research & Data Analysis Director, Tom Pullum:
I believe you want to identify men in the PR file who are de jure (hv102=1) but absent (hv103=0) and whose line number is given in the IR file by v034. I will illustrate with the Nigeria 2018 survey (NG7B). It shows that out of 25,662 husbands identified in the PR file, there were 687 who were de jure but not de facto. Hope this is what you were looking for.
cd e:\DHS\DHS_data\scratch
use "...NGIR7BFL.DTA", clear
keep v001 v002 v003 v034
rename v001 cluster
rename v002 hh
rename v003 wline
rename v034 hline
sort cluster hh hline
save NGIRtemp.dta, replace
* w for wife, h for husband
use "...NGPR7BFL.DTA", clear
* keep males age 15+
keep if hv104==1 & hv105>=15
keep hv001 hv002 hvidx hv102 hv103
rename hv001 cluster
rename hv002 hh
rename hvidx hline
sort cluster hh hline
tab hv102 hv103
merge cluster hh hline using NGIRtemp.dta
tab _merge
tab hv102 hv103 if _merge==3
. tab hv102 hv103 if _merge==3
usual | slept last night
resident | no yes | Total
-----------+----------------------+----------
no | 0 31 | 31
yes | 687 24,944 | 25,631
-----------+----------------------+----------
Total | 687 24,975 | 25,662
|
|
|
|