The DHS Program User Forum
Discussions regarding The DHS Program data and results
Home » Countries » India » FAMILY STRUCTURE
Re: FAMILY STRUCTURE [message #25962 is a reply to message #25951] Tue, 17 January 2023 11:38 Go to previous messageGo to previous message
Bridgette-DHS is currently offline  Bridgette-DHS
Messages: 3199
Registered: February 2013
Senior Member
Following is a response from Senior DHS staff member, Tom Pullum:

You need to construct a typology of household types, of which this specific household structure would be one of the types, using the PR file. I suggest that the dimensions are (1) the sex of the household head, (2) whether a spouse is present, and (3) whether a dependent child (age 0-17 and unmarried) is present. There are 2x2x2=8 combinations. You first construct a binary variable to describe each household member based on relation to head, sex, age, or marital status, then add up the number of people of these types within the household and assign these subtotals to each person in the household. You then construct the typology. Then you can reduce to the household head or do tabulations for just the head, so the units are households rather than individuals. I will paste below the Stata code to do this. The household type you are specifically interested in is #3. I will then paste the distribution. There is a small "other" category, probably because hv105 includes a "transgender" category. You may want to restrict to de jure household members--I didn't do that.

Type 3 represents about ½ of 1 percent of all households. Type 7, with a female head, no spouse, and dependent children, represents about 3% of households

use "...IAPR7DFL.DTA", clear 

* Criteria for household typology
* household head is male (hv101=1, hv104=1)
* household head is female (hv101=1, hv104=2)
* no spouse present (no one in hh with hv101=2
* at least one unmarried child present (hv101=3,hv105<=17, hv115=0)

gen hhhead_male  =0
gen hhhead_female=0
gen spouse=0
gen child=0

replace hhhead_male  =1 if hv101==1 & hv104==1
replace hhhead_female=1 if hv101==1 & hv104==2
replace spouse=1        if hv101==2
replace child=1         if hv101==3 & hv105<=17 & hv115==0

egen nhhhead_male  =total(hhhead_male),   by(hv024 hv001 hv002) 
egen nhhhead_female=total(hhhead_female), by(hv024 hv001 hv002) 
egen nspouse       =total(spouse),        by(hv024 hv001 hv002) 
egen nchild        =total(child),         by(hv024 hv001 hv002) 

gen hhtype=.
replace hhtype=1 if nhhhead_male==1   & nspouse>=1 & nchild>0
replace hhtype=2 if nhhhead_male==1   & nspouse>=1 & nchild==0
replace hhtype=3 if nhhhead_male==1   & nspouse==0 & nchild>0
replace hhtype=4 if nhhhead_male==1   & nspouse==0 & nchild==0
replace hhtype=5 if nhhhead_female==1 & nspouse>=1 & nchild>0
replace hhtype=6 if nhhhead_female==1 & nspouse>=1 & nchild==0
replace hhtype=7 if nhhhead_female==1 & nspouse==0 & nchild>0
replace hhtype=8 if nhhhead_female==1 & nspouse==0 & nchild==0
replace hhtype=9 if hhtype==.

label define hhtype 1 "Male head with spouse and children" 2 "Male head with spouse, no children" 3 "Male head, no spouse, and children" 4 "Male head, no spouse, no children" 5 "Female head with spouse and children" 6 "Female head with spouse, no children" 7 "Female head, no spouse, and children" 8 "Female head, no spouse, no children" 9 "Other"
label values hhtype hhtype

tab hhtype if hv101==1 [iweight=hv005/1000000

/index.php?t=getfile&id=2000&private=0
  • Attachment: hhtype..jpg
    (Size: 106.07KB, Downloaded 726 times)

[Updated on: Tue, 17 January 2023 11:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: File Merge
Next Topic: Change in age of women for domestic violence module
Goto Forum:
  


Current Time: Mon Nov 25 01:14:37 Coordinated Universal Time 2024