The DHS Program User Forum
Discussions regarding The DHS Program data and results
Today's Messages (on)  | Unanswered Messages (off)

Forum: Geographic Data
 Topic: Pakistan 2012-13 Districts
Re: Pakistan 2012-13 Districts [message #25728 is a reply to message #19432] Thu, 01 December 2022 10:00
bhavzz is currently offline  bhavzz
Messages: 2
Registered: September 2018
Location: United States
Member
@tareena - its the same as 2012-13.
Forum: Dataset use (other programs)
 Topic: Reproducing reports in R using Github Code
Reproducing reports in R using Github Code [message #25729] Thu, 01 December 2022 11:41
victor is currently offline  victor
Messages: 1
Registered: December 2022
Member
I am trying to reproduce some figures from DHS reports, specifically birth registration data.

Using this code from the github page, I should be able to do just that. https://github.com/DHSProgram/DHS-Indicators-R/blob/main/Cha p02_PH/PH_POP.R

However it seems that this code does not work. Am I doing something wrong?

The first line it already goes wrong
PRdata[["ager"]] <- ifelse(PRdata[["hv103"]]==1 , as.integer(PRdata[["hv105"]]/5), NA) 

using double square brackets is quite uncommon, but it should work. However addressing the hv103 and hv105 data like that is just incorrect. This data is spread across multiple columns per respondent, indicated by hv105_01, hv105_02 etc.

Hopefully someone know how to get this running.
Forum: Weighting data
 Topic: NFHS-5, when to calculate new weights?
NFHS-5, when to calculate new weights? [message #25726] Thu, 01 December 2022 05:08
Parashara is currently offline  Parashara
Messages: 2
Registered: December 2022
Member
For India's NFHS-5 I try to analyze women's autonomy data (from the women's data set IAIR74FL). However some relevant questions (e.g.: if allowed to go to the market and under which circumstances) were only posed to a fraction of all individuals (about 1/7).
But every individual in the 'domestic violence' module is included.

I want to aggregate the data on a district level (using the collapse command in stata) and therefore weighting the data correctly is important. Also I want to include as much data as possible.

So do I need to calculate a seperate weight for that situation and variable or do the original individual or domestic violence weights still hold their value?
Furthermore if data from only the domestic violence module is considered some data would distort the final result, due to 3rd party listeners during the interview. Would I need to consider a new response rate (and hence calculate a new weight) for that as well?

Thank you very much for your attention and help.
Re: NFHS-5, when to calculate new weights? [message #25727 is a reply to message #25726] Thu, 01 December 2022 09:30
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 2634
Registered: February 2013
Senior Member
Following is a response from Senior DHS staff members, Tom Pullum and Fred Arnold:

You do not need to calculate new weights. You will be ok with the dv weights as they appear in the IR file. This survey sampled men in only 1/6 of the households (every 2nd household in 1/3 of the clusters) and the DV module was only used in those households. The necessary adjustments for subsampling and nonresponse have been incorporated into the construction of d005.

Third party listeners are not allowed for the domestic violence module under any circumstances. If complete privacy for the DV module is not possible, the entire domestic violence module is skipped.

[Updated on: Thu, 01 December 2022 09:52]

Report message to a moderator

Re: NFHS-5, when to calculate new weights? [message #25730 is a reply to message #25727] Thu, 01 December 2022 13:49
Parashara is currently offline  Parashara
Messages: 2
Registered: December 2022
Member
Thank you very much for the clarification regarding the privacy aspect!

However I still have one question, for there are women that answered question but are not in the dv module (maybe the're in the same household though?). So for those that dont have a dv weight, what do I do? Just leave them out since they can't be weighted properly?

I made a screenshot of those cases where individuals have a variable response but no dv weight.
Forum: General Data Questions
 Topic: Migration data: number of visitors
Migration data: number of visitors [message #25731] Thu, 01 December 2022 15:09
MG is currently offline  MG
Messages: 1
Registered: October 2022
Member
I am trying to identify the migrants using the two following questions for Rwanda (2019-20):


1. years lived in place of residence (mv104 from men recode)
2. usual resident or visitor (mv135 from men recode)


If I tabulate both variables, I am getting different numbers for "visitors". mv135 has more observations in visitor category and mv104 has less in visitor category.

Why is this happening? I have the same issue with the women's file.



Current Time: Thu Dec 1 18:43:19 Coordinated Universal Time 2022