# How can I calculate an estimate for the percentage of Medicaid enrollees in CA that are in families with a worker?

**URL:** <https://forum.ipums.org/t/how-can-i-calculate-an-estimate-for-the-percentage-of-medicaid-enrollees-in-ca-that-are-in-families-with-a-worker/1623>\
**Category:** CPS\
**Created:** [March 4, 2017, 1:01am UTC](https://forum.ipums.org/t/how-can-i-calculate-an-estimate-for-the-percentage-of-medicaid-enrollees-in-ca-that-are-in-families-with-a-worker/1623 "2017-03-04T01:01:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RickG](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@RickG](https://forum.ipums.org/u/RickG)\
**Post date:** [March 4, 2017, 1:01am UTC](https://forum.ipums.org/t/how-can-i-calculate-an-estimate-for-the-percentage-of-medicaid-enrollees-in-ca-that-are-in-families-with-a-worker/1623/1 "2017-03-04T01:01:00Z")

</div>

How can I calculate an estimate for the percentage of Medicaid enrollees in CA that are in families with a worker?

---

<div class="post-metadata">

**Author:** ![JeffBloem](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.ipums.org/jeffbloem/32/40_2.png) [@JeffBloem](https://forum.ipums.org/u/JeffBloem)\
**Post date:** [March 6, 2017, 3:35pm UTC](https://forum.ipums.org/t/how-can-i-calculate-an-estimate-for-the-percentage-of-medicaid-enrollees-in-ca-that-are-in-families-with-a-worker/1623/2 "2017-03-06T15:35:00Z")

</div>

This estimated calculation should be possible. First, by using the variable [HINSCAID](https://usa.ipums.org/usa-action/variables/HINSCAID#codes_section) you can indicate whether or not an individual has health insurance through medicaid. Second, identifying families with a worker is a bit more complicated, but still possible. There are a number of ways you could defined “a household with a worker”. Perhaps the most straightforward way is to use the [EMPSTAT](https://usa.ipums.org/usa-action/variables/EMPSTAT#codes_section) variable which identifies if an individual was employed, unemployed, or not in the labor force. Note that EMPSTAT is a person-level variable so you’ll have to generate your own variable (within your statistical software of choice) that indicates any household containing a person with EMPSTAT==employed. Finally, you can limit your sample to just CA records by including the [STATEFIP](https://usa.ipums.org/usa-action/variables/STATEFIP#description_section) variable and using the “[Select Cases](https://usa.ipums.org/usa-action/faq#ques37)” tool in the IPUMS data extract.

I hope this helps.
