Merging Datasets PDHS [message #25425] |
Tue, 18 October 2022 07:26 |
adeen97
Messages: 3 Registered: October 2022
|
Member |
|
|
Hello, I am trying to see the impact of the Benazir Income Support Programme (BISP) -which is an unconditional cash transfer program initiated by the government of Pakistan- on the utilization of reproductive health services (antenatal, postnatal care, skilled assistance during delivery, and place of delivery). However, I am a bit confused about how to merge the files
Maternal health variables and the question of whether the individual is a BISP recipient are present in the IR file, but these variables are also present in the BR and KR files (the BISP variable is also present in the CR file)
Can someone please guide how I should go about merging? I also need to merge the HR and PR files as I plan on creating a poverty scorecard, similar to the one created by the program using household socio-economic indicators to assess program eligibility.
|
|
|
|
|
|
Re: Merging Datasets PDHS [message #25456 is a reply to message #25431] |
Mon, 24 October 2022 11:38 |
adeen97
Messages: 3 Registered: October 2022
|
Member |
|
|
Thank you so much for your response! one last question, as I will be now using the KR file, I also need to assess certain household characteristics (highest education level of HH head, toilet facility, ownership of refrigerator, A/C, car, livestock, agricultural land, etc) so should I merge with the PR file or HR?
|
|
|
Re: Merging Datasets PDHS [message #25467 is a reply to message #25456] |
Tue, 25 October 2022 08:42 |
Bridgette-DHS
Messages: 3188 Registered: February 2013
|
Senior Member |
|
|
Following is a response from DHS staff member, Tom Pullum:
I suggest that you use the PR file, but just keep the line for the household head (the household member with hv101=1), since you have a special interest in that person's characteristics. The following Stata lines show how to do that. Good luck!
* specify workspace
cd e:\DHS\DHS_data\scratch
use "...PKPR71FL.DTA", clear
keep if hv101==1
gen cluster=hv001
gen hh=hv002
sort cluster hh
save PKtemp.dta, replace
use "...PKKR71FL.DTA", clear
gen cluster=v001
gen hh=v002
sort cluster hh
merge cluster hh using PKtemp.dta
tab _merge
* _merge is 2 for households that do not have a child in the KR file
keep if _merge==3
drop _merge
|
|
|