In the same spirit of my last post, here is a notebook I developed to extract information on hospital capacity from the Form 2552-10 that hospitals file regularly with Medicare. If you know how to get this information from somewhere else, know how to tangle with this data better, or know other things about it that you think I should know… please let me know!
I have recently started helping out with some computer modeling efforts to support outbreak response, and I’m learning that there are a lot of projects already underway. To learn from others, and also to perhaps be helpful to people who I don’t know who are also working on this, I’m posting this write-up of an estimate I just produced: estimates of the number of people in nursing homes by age-group and facility.
As you may know, many of the deaths so far in the COVID-19 outbreak have been among people who were in nursing homes (28 out of 37, as of March 3, 2020). How many people are in nursing homes? And, since age seems to be an important determinant of disease severity, how old are they? I used open sources to make estimates for all nursing facilities in Washington State. If this is useful to you, great! And if you know how to do this better, please let me know!
Here is a csv file you can use if you are doing disease modeling. I’ve put a Jupyter Notebook with all the code to derive these estimates on the web, and below I have collected some details on the potential data sources that this and other future estimates might use.
There is also data with fine geographic precision available from the decennial census. The “Summary File One (SF1)” includes tables on the number of people living in skilled nursing facilities in each census block. This is available at the county and MSA level, stratified by sex and 5-year age groups (top coded at 85+), but it is now 10 years out of date, so perhaps it is not that useful. https://factfinder.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=DEC_10_SF1_PCO5&prodType=table
SF1 PCO5 fractions in King County Nursing Homes (2010)
0-29
403
6.7%
30-64
862
14.3%
65-74
685
11.4%
75-84
1442
24.0%
85+
2621
43.6%
Total
6013
100.0%
It does have the sex ratio, maybe that is useful. MDS must have that, too, though. It is also available at the census block level, stratified by sex and broad age groups (<18, 22-64, 69+, if I’m reading it correctly).
Washington Aging and Long-Term Support Administration (ALTSA)
This state agency maintains a list of nursing homes in Washington State, and has bed counts for each nursing home. It does not provide an age breakdown, though. It puts WA State capacity at 19,332 beds.
ALTSA and MDS together show WA State is using 84% of available beds in nursing homes.
Model
It seems a bit grandiose to call this a statistical model, although I think it is technically accurate to say that I have used a “first-order log-linear model” to estimate the number of individuals in nursing homes by facility and by age group. The formula is the following, where N(age, facility) is the number of individuals in a given age group and a given facility:
N(age, facility) = total number * age share * facility share
Conclusion
For convenience, here is a link to the csv file that I produced with this approach, and here is a link to the Jupyter Notebook with all the code to derive these estimates from open sources. If you know how to make estimates like this that are more accurate, please let me know!
But it is also a demonstration of the “fractal” nature of population health—the variation between life expectancy from country to country around the world is big! But it is around as big as the variation between life expectancy from county to county around the United States. And what this work shows is that even in the county where I live, the life expectancy varies between census tracts almost as much as from county to county or country to country. Inequality is happening at all scales.
Diagnosed and Undiagnosed Diabetes Prevalence by County in the US, 1999–2012
Authors
Laura Dwyer-Lindgren, Johan P Mackenbach, Frank J van Lenthe, Abraham D Flaxman, Ali H Mokdad
Publication date
2016/9/1
Journal
Diabetes Care
Volume
39