Home » Topics » Child Health » Child Discipline - Myanmar DHS 2015-2016 (Unit of analysis and files to be used )
Re: Child Discipline - Myanmar DHS 2015-2016 [message #22594 is a reply to message #22590] |
Thu, 08 April 2021 08:51 |
Bridgette-DHS
Messages: 3216 Registered: February 2013
|
Senior Member |
|
|
Following is a response from DHS Research & Data Analysis Director, Tom Pullum:
For children under 18, hv112 is the line number of the mother and hv114 is the line number 5. For children under 5, hc51 is the line number of the caregiver. Usually, for children under 5, hc51=hv112; the mother is the caregiver. You could start by looking at how often hc51 equals hv112 or hv114. If the mother is not in the household, then hv112 equals 0 or NA, and similarly for the father and hv114. Below is Stata code that should be helpful.
For your final question, I would look at the DV variables in the IR file and construct a reduced household-level file for which the ID codes are v001 v002. You then do a merge that matches v001 and v002 with hv001 and hv002 in the child file constructed below. Every child in the same household would get the same household-level code. Some children in the PR file are in a household for which there will not be any domestic violence data. It's a little more complex to merge the DV data from the mother or from the caregiver (if the caregiver is not the mother, but is another woman in the household and received the DV module). I would recommend household-level DV variables. Good luck--an interesting research topic.
* need a scratch folder
cd e:\DHS\DHS_data\scratch
use "C:\Users\26216\ICF\Analysis - Shared Resources\Data\DHSdata\KHPR73FL.DTA" , clear
keep hv001 hv002 hvidx hv104 hv105 hv106 hc51 hv112 hv114
save KHPRtemp.dta, replace
* Construct a file of children with hc51
keep if hc51<.
rename hc51 line_caregiver
rename hv104 hv104_child
rename hv105 hv105_child
rename hv106 hv106_child
gen caregiver=.
replace caregiver=0 if line_caregiver==0
replace caregiver=1 if line_caregiver==hv112
replace caregiver=2 if line_caregiver==hv114
replace caregiver=3 if caregiver==. & line_caregiver>0
label define cg 0 "Not in hh" 1 "Mother" 2 "Father" 3 "Other hh member"
label values caregiver cg
sort hv001 hv002 line_caregiver
save KHchildtemp.dta, replace
use KHPRtemp.dta, clear
rename hvidx line_caregiver
rename hv104 hv104_caregiver
rename hv105 hv105_caregiver
rename hv106 hv106_caregiver
sort hv001 hv002 line_caregiver
merge hv001 hv002 line_caregiver using KHchildtemp.dta
tab _merge
* _merge is 2 for children whose caregiver is not in the household
* _merge is 3 for children who are matched with caregiver
keep if _merge==2 | _merge==3
drop _merge
tab hv105_child caregiver
|
|
|
Goto Forum:
Current Time: Fri Jan 3 04:41:00 Coordinated Universal Time 2025
|