# Size of related subfamilies

**URL:** <https://forum.ipums.org/t/size-of-related-subfamilies/3198>\
**Category:** USA\
**Created:** [October 4, 2019, 7:30pm UTC](https://forum.ipums.org/t/size-of-related-subfamilies/3198 "2019-10-04T19:30:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Molly\_Richard](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@Molly\_Richard](https://forum.ipums.org/u/Molly_Richard)\
**Post date:** [October 4, 2019, 7:30pm UTC](https://forum.ipums.org/t/size-of-related-subfamilies/3198/1 "2019-10-04T19:30:08Z")

</div>

Hello! Can someone confirm whether or not there is an existing variable for **number of people in a subfamily?** I’m looking to use this to construct a subfamily poverty level. E.g., to have a poverty level for related family members who are designated as their own subfamily, which does not take into account the incomes of the household head and their immediate family. In other words, I want to calculate poverty for individuals, their spouses, and dependent children, and in order to do so it would be useful to have subfamily size. Any help is much appreciated.

---

<div class="post-metadata">

**Author:** ![Matthew\_Bombyk](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@Matthew\_Bombyk](https://forum.ipums.org/u/Matthew_Bombyk)\
**Post date:** [October 7, 2019, 7:12pm UTC](https://forum.ipums.org/t/size-of-related-subfamilies/3198/2 "2019-10-07T19:12:30Z")

</div>

There is not currently such a variable in IPUMS USA. You can easily create this variable using a combination of SAMPLE, SERIAL, and SUBFAM. For example in Stata you could type:

bys sample serial subfam: egen subfam\_size = total(1)
