Family Size [message #16359] |
Sun, 23 December 2018 01:59 |
sabuj46
Messages: 2 Registered: December 2018
|
Member |
|
|
How can I calculate Family size/ total number of family members from BDHS 2014?
|
|
|
Re: Family Size [message #16404 is a reply to message #16359] |
Tue, 08 January 2019 09:06 |
Bridgette-DHS
Messages: 3216 Registered: February 2013
|
Senior Member |
|
|
Following is a response from Senior DHS Stata Specialist, Tom Pullum:
The number of household members is given in the PR file as hv009. You can match hv009 in Stata with the following two lines, for example:
gen n_hh=1
collapse (sum) n_hh, by(hv001 hv002)
If you are making a distinction between a household and a family, then you have to have a definition of a family, perhaps based on the relation to head code, hv101. To include the head, spouse of head, and children, for example, you could use
gen n_fam=1 if hv101==1 | hv101==2 | hv101==3
collapse (sum) n_fam, by(hv001 hv002)
I am not advocating this definition, but it illustrates how you could proceed.
[Updated on: Tue, 08 January 2019 09:07] Report message to a moderator
|
|
|