Skip to content

Commit d5778eb

Browse files
committed
Merge remote-tracking branch 'origin/dev' into sgratzl/webp_generation
2 parents 6ca3a49 + 53221da commit d5778eb

23 files changed

+824
-98
lines changed

content/blog/2021-03-10_c2b.Rmd

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,18 @@ heroImage: blog-lg-c2b.jpg # size: 1120x440 jpg format
1515
heroImageThumb: blog-thumb-c2b-1.jpg # size: 300x200 jpg format
1616
# related:
1717
summary: |
18-
In our partnership with the Allegheny County Health Department,
19-
we explored a variety of solutions to different pressing challenges
20-
during the pandemic. Cases2Beds was one such tool that came as a
21-
result of rising COVID cases in Allegheny County.
22-
23-
The goal of Cases2Beds is to project likely hospital bed
24-
utilization from any given set of lab-confirmed cases. The intuition of
25-
Cases2Beds is that some fraction ((hospitalization rate) of individuals who
26-
test positive today will be hospitalized after a time delay
27-
(from test date to admit date) and for a varying duration
28-
(from admit date to discharge date). These values and distributions vary by
29-
individual traits (primarily age group, and then race or gender).
30-
Using the current relevant hospitalization rates, delay distributions,
31-
and duration distributions, we show what bed usage might be for the inputted
32-
positive cases. We are not aware of other generative approaches for
33-
hospital utilization.
34-
18+
In partnership with the Allegheny County Health Department,
19+
we explored solutions to pressing challenges
20+
during the pandemic.
21+
3522
acknowledgements: |
3623
Thank you to the Allegheny County Health Department (especially Antony Gnalian,
3724
Dr. LuAnn Brink, and Dr. Debra Bogen) for their invaluable feedback, efforts, and
3825
shared interest in actionable intelligence.
3926
4027
Many members of the Delphi Group, including
4128
Sumit Agrawal, Katie Mazaitis,
42-
and Phil McGuinness met regularly with the Allegheny County
29+
and Phil McGuinness, met regularly with the Allegheny County
4330
Health Department and investigated various solutions other than Cases2Beds.
4431
Andrew Chin and Benjamin Smith investigated Cases2Beds alternatives.
4532
@@ -126,7 +113,7 @@ ggplot(data=df4, aes(x=Race, y=Rate)) +
126113

127114
We used public data from Allegheny County about the number of people tested, test positivity rate, and hospitalization rate, broken down by the aforementioned demographic factors.
128115

129-
We also acquired information for two critical parameters: offset and length of stay. Offset is the number of days between the day of testing (called specimen collection date) and the first day of hospitalization. For example, if the test date is around the hospital admit date, the offset would be 0 days (or sometimes -1 or +1 days). Otherwise, if the test date was 5 days before hospitalization, the offset would be 5 days. Notably, the offset can be negative, meaning you may have been tested some days or weeks after being admitted (presumably for an unrelated reason).
116+
We also acquired information for two critical parameters: offset and length of stay. Offset is the number of days between the day of testing (called specimen collection date) and the first day of hospitalization. For example, if the test date is around the hospital admit date, the offset would be 0 days (or sometimes -1 or +1 days). Otherwise, if the test date was 5 days before hospitalization, the offset would be 5 days. Notably, the offset can be negative, meaning a person may have been tested some days or weeks after being admitted (presumably for an unrelated reason).
130117

131118
The length of stay is approximately how many days a person uses a bed in the hospital (± 1 day).
132119

content/blog/2021-03-10_c2b.html

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,31 +15,18 @@
1515
heroImageThumb: blog-thumb-c2b-1.jpg # size: 300x200 jpg format
1616
# related:
1717
summary: |
18-
In our partnership with the Allegheny County Health Department,
19-
we explored avariety of solutions to different pressing challenges
20-
during the pandemic. Cases2Beds was one such tool that came as a
21-
result of rising COVID cases in Allegheny County.
22-
23-
The goal of Cases2Beds is to project likely hospital bed
24-
utilization from any given set of lab-confirmed cases. The intuition of
25-
Cases2Beds is that some fraction ((hospitalization rate) of individuals who
26-
test positive today will be hospitalized after a time delay
27-
(from test date to admit date) and for a varying duration
28-
(from admit date to discharge date). These values and distributions vary by
29-
individual traits (primarily age group, and then race or gender).
30-
Using the current relevant hospitalization rates, delay distributions,
31-
and duration distributions, we show what bed usage might be for the inputted
32-
positive cases. We are not aware of other generative approaches for
33-
hospital utilization.
34-
18+
In partnership with the Allegheny County Health Department,
19+
we explored solutions to pressing challenges
20+
during the pandemic.
21+
3522
acknowledgements: |
3623
Thank you to the Allegheny County Health Department (especially Antony Gnalian,
3724
Dr. LuAnn Brink, and Dr. Debra Bogen) for their invaluable feedback, efforts, and
3825
shared interest in actionable intelligence.
3926

4027
Many members of the Delphi Group, including
4128
Sumit Agrawal, Katie Mazaitis,
42-
and Phil McGuinness met regularly with the Allegheny County
29+
and Phil McGuinness, met regularly with the Allegheny County
4330
Health Department and investigated various solutions other than Cases2Beds.
4431
Andrew Chin and Benjamin Smith investigated Cases2Beds alternatives.
4532

@@ -53,7 +40,6 @@
5340
toc: true
5441
---
5542

56-
<script src="/rmarkdown-libs/header-attrs/header-attrs.js"></script>
5743

5844
<div id="TOC">
5945
<ul>
@@ -127,7 +113,7 @@ <h2>A probabilistic approach</h2>
127113
<p><img src="/blog/2021-03-10_c2b_files/figure-html/rates-1.svg" width="864" class="wide-figure" />
128114
<strong>Fig. 2:</strong> Age Group Comparisons based on the Allegheny County COVID-19 Tableau <sup><a href="#ACHDDashboardLink">3</a></sup></p>
129115
<p>We used public data from Allegheny County about the number of people tested, test positivity rate, and hospitalization rate, broken down by the aforementioned demographic factors.</p>
130-
<p>We also acquired information for two critical parameters: offset and length of stay. Offset is the number of days between the day of testing (called specimen collection date) and the first day of hospitalization. For example, if the test date is around the hospital admit date, the offset would be 0 days (or sometimes -1 or +1 days). Otherwise, if the test date was 5 days before hospitalization, the offset would be 5 days. Notably, the offset can be negative, meaning you may have been tested some days or weeks after being admitted (presumably for an unrelated reason).</p>
116+
<p>We also acquired information for two critical parameters: offset and length of stay. Offset is the number of days between the day of testing (called specimen collection date) and the first day of hospitalization. For example, if the test date is around the hospital admit date, the offset would be 0 days (or sometimes -1 or +1 days). Otherwise, if the test date was 5 days before hospitalization, the offset would be 5 days. Notably, the offset can be negative, meaning a person may have been tested some days or weeks after being admitted (presumably for an unrelated reason).</p>
131117
<p>The length of stay is approximately how many days a person uses a bed in the hospital (± 1 day).</p>
132118
<p>Given the hospitalization rate, the offset distribution, and the length of stay distribution, we could simulate multiple futures for any given set of positive cases and their testing dates. This process ultimately shows the distribution of the number of beds needed each day.</p>
133119
<p>Estimating the future given a set of probabilities is a common problem and is possible with an approach called a Monte Carlo simulation.</p>

0 commit comments

Comments
 (0)