The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » Discrepancy in resident status between individual files and merged household file
Discrepancy in resident status between individual files and merged household file [message #24275] Mon, 11 April 2022 06:48 Go to previous message
desktop is currently offline  desktop
Messages: 2
Registered: April 2022
Member
Hi,

After merging the individual questionnaires with the household member (PR) datasets per Tom Pollum's response in this thread ( https://userforum.dhsprogram.com/index.php?t=msg&th=6693 &start=0&)

, I noticed that the usual versus visiting residents differed between hv102 and (m)v135. See the R code below.

Discrepancies between women (1 = Usual, 2 = Visitor) and merged (PR+IR+MR) dataset (0 = Visitor, 1 = Usual)

table(women$V135, combined$HV102[combined$HV104 == 2], useNA = "ifany")
   
         0      1
  1  21537 655926
  2    686  21537

Discrepancies between men (1 = Usual, 2 = Visitor) and merged (PR+IR+MR) dataset (0 = Visitor, 1 = Usual)

table(men$MV135, combined$HV102[combined$HV104 == 1], useNA = "ifany")
   
         0      1
  1   1884 108320
  2     34   1884

Have I missed something, or are these discrepancies due to (m)v135 being reported by the individual themselves and hv102 being reported for all members by one person?

[Updated on: Mon, 11 April 2022 06:58]

Report message to a moderator

 
Read Message
Read Message
Previous Topic: Merging Data DHS 2015-2016
Next Topic: NFHS-4 issue with district variable
Goto Forum:
  


Current Time: Sun Dec 1 00:41:14 Coordinated Universal Time 2024