You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/blog/2023-12-20-changepoint_explore.Rmd
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,6 @@ authors:
11
11
- ajoshi
12
12
heroImage: blog-lg-changepoint.jpeg
13
13
heroImageThumb: blog-thumb-changepoint.jpeg
14
-
15
14
summary: |
16
15
We use changepoint detection algorithms to analyze Delphi's indicators and classify them as early, on-time, late, undefined, or undetermined.
17
16
@@ -94,3 +93,4 @@ Overall, Changepoint detection is a powerful tool to identify early indicators.
94
93
95
94
The python notebook used for this analysis can be found on Github [here](https://github.com/TaraLakdawala/covid-changepoint-detection-exploration).
96
95
96
+
This work was supported by the Centers for Disease Control and Prevention of the U.S. Department of Health and Human Services (HHS) as part of a cooperative agreement funded solely by CDC/HHS under federal award identification number U01IP001121, “Delphi Influenza Forecasting Center of Excellence”; and by CDC funded contract number 75D30123C15907, "Digital Public Health Surveillance for the 21st Century". The contents are those of the authors and do not necessarily represent the official views of, nor an endorsement by, CDC/HHS or the U.S. Government. Additionally, this material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE1745016 and DGE2140739. Any opinion, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.
Copy file name to clipboardExpand all lines: content/blog/2023-12-20-changepoint_explore.html
+16-17Lines changed: 16 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -11,10 +11,8 @@
11
11
- ajoshi
12
12
heroImage: blog-lg-changepoint.jpeg
13
13
heroImageThumb: blog-thumb-changepoint.jpeg
14
-
15
14
summary: |
16
15
We use changepoint detection algorithms to analyze Delphi's indicators and classify them as early, on-time, late, undefined, or undetermined.
17
-
18
16
output:
19
17
blogdown::html_page:
20
18
toc: true
@@ -39,9 +37,9 @@ <h2>Introduction</h2>
39
37
<h2>Establishing National Ground Truth Changepoints</h2>
40
38
<p>To establish when the composition of different COVID-19 variants changed, we used three changepoint detection algorithms: <ahref="https://centre-borelli.github.io/ruptures-docs/user-guide/detection/pelt/">PELT</a>, <ahref="https://centre-borelli.github.io/ruptures-docs/user-guide/detection/binseg/">Binary Segmentation</a>, and <ahref="https://centre-borelli.github.io/ruptures-docs/user-guide/detection/bottomup/">Bottom-up Segmentation</a> on Delphi’s national <ahref="https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/jhu-csse.html">JHU-CSSE COVID-19 Cases</a> stream<ahref="#fn3" class="footnote-ref" id="fnref3"><sup>3</sup></a>.This stream was the smoothed 7-day average of the number of new confirmed COVID-19 cases (for all variants) in the United States (US). After aggregating the changepoints at a weekly level, we marked the weeks where all three methods agreed for the national cases data stream (Fig. 1). To corroborate these points, we also used the <ahref="https://covid.cdc.gov/covid-data-tracker/#variant-proportions">CDC’s COVID Data Tracker</a>, which reports the ratio of different COVID-19 sub-variant variants among the infected US population. We combine the different sub-strains of COVID in the data to represent the three dominant variants: “Original,” “Delta,” and “Omicron.” These changes in variant makeup visually match the ground truth changepoints from the national signal, as seen in Figure 1.</p>
41
39
<center>
42
-
<divclass="float">
43
-
<imgsrc="/blog/2023-12-20-changepoint_explore_files/image3.png" alt="Figure 1. Total and Variant Case Counts with variant changepoints on April 24, 2021; June 19, 2021; December 18, 2021; March 5, 2022; June 18, 2022." />
44
-
<divclass="figcaption"><strong>Figure 1.</strong> Total and Variant Case Counts with variant changepoints on April 24, 2021; June 19, 2021; December 18, 2021; March 5, 2022; June 18, 2022.</div>
<pclass="caption"><strong>Figure 1.</strong> Total and Variant Case Counts with variant changepoints on April 24, 2021; June 19, 2021; December 18, 2021; March 5, 2022; June 18, 2022.</p>
45
43
</div>
46
44
</center>
47
45
<p>
@@ -51,9 +49,9 @@ <h2>Establishing National Ground Truth Changepoints</h2>
51
49
<h2>Methods</h2>
52
50
<p>Next, we needed to identify how these ground truth changepoints compared to changepoints in indicators (using the same three algorithms). We used all available data streams during our selected time range from Delphi’s <ahref="https://cmu-delphi.github.io/delphi-epidata/">COVIDCast database</a>, which corresponds to 60 indicators (including the Facebook survey, Google Search, claims, hospitalization, and mortality indicators), each at the state/territory and national tier. When we aggregated the calculated changepoints per indicator per week, as Fig. 2 shows, we identified that some weeks have many more changepoints than others. To match the number of ground truth changepoints, we filter to the top 5 weeks per indicator (major indicator changepoints) to directly compare with the ground truth changepoints.</p>
53
51
<center>
54
-
<divclass="float">
55
-
<imgsrc="/blog/2023-12-20-changepoint_explore_files/image5.png" alt="Figure 2. The aggregated count of changepoints per week in all fifty two regions by all three algorithms for estimated COVID related outpatient doctor visits" />
56
-
<divclass="figcaption"><strong>Figure 2.</strong> The aggregated count of changepoints per week in all fifty two regions by all three algorithms for estimated COVID related outpatient doctor visits</div>
<pclass="caption"><strong>Figure 2.</strong> The aggregated count of changepoints per week in all fifty two regions by all three algorithms for estimated COVID related outpatient doctor visits</p>
57
55
</div>
58
56
</center>
59
57
<p>Then, we categorized indicators as early, on-time, or late using the following definitions:</p>
@@ -117,23 +115,23 @@ <h2>Results and Analysis</h2>
117
115
</table>
118
116
<p><strong>Early Indicators:</strong> Early indicators are the most important in identifying changing health dynamics. For example, the majority (6/8) of indicators from <ahref="https://cmu-delphi.github.io/delphi-epidata/api/covidcast-signals/google-symptoms.html#symptom-set">Google Symptoms</a> are early indicators, especially indicators related to fevers. In Fig 3. we see one example of Google Symptoms early indicator (which includes searches for Fever, Hyperthermia, Chills, Shivering, and Low grade fever), where the major indicator changepoints lead ground truth changepoints by approximately one week.</p>
119
117
<center>
120
-
<divclass="float">
121
-
<imgsrc="/blog/2023-12-20-changepoint_explore_files/image2.png" alt="Figure 3. This early indicator has major indicator changepoints (blue bars) which occur a week or more before the ground truth changepoints (black line). This data is sourced from Google Symptoms and shows search data for keywords “Fever, Hyperthermia, Chills, Shivering, Low grade fever”" />
122
-
<divclass="figcaption"><strong>Figure 3.</strong> This early indicator has major indicator changepoints (blue bars) which occur a week or more before the ground truth changepoints (black line). This data is sourced from Google Symptoms and shows search data for keywords “Fever, Hyperthermia, Chills, Shivering, Low grade fever”</div>
<pclass="caption"><strong>Figure 3.</strong> This early indicator has major indicator changepoints (blue bars) which occur a week or more before the ground truth changepoints (black line). This data is sourced from Google Symptoms and shows search data for keywords “Fever, Hyperthermia, Chills, Shivering, Low grade fever”</p>
123
121
</div>
124
122
</center>
125
123
<p><strong>On-time Indicators:</strong> On-time indicators (Fig. 4) most frequently correspond to data involving insurance claims, suspected COVID cases among hospital admissions, and, unsurprisingly, other COVID-19 incidence data reports from JHU-CSSE. Other notable early or on-time indicators include: the number of doctors visits for cases with COVID or COVID-like symptoms, Data Strategy and Execution Workgroup Community Profile Report (CPR) data on the number of people who were fully vaccinated.</p>
126
124
<center>
127
-
<divclass="float">
128
-
<imgsrc="/blog/2023-12-20-changepoint_explore_files/image1.png" alt="Figure 4. This on-time indicator has major indicator changepoints (blue bars) which occur within a two week window around the ground truth changepoints (black)." />
129
-
<divclass="figcaption"><strong>Figure 4.</strong> This on-time indicator has major indicator changepoints (blue bars) which occur within a two week window around the ground truth changepoints (black).</div>
<pclass="caption"><strong>Figure 4.</strong> This on-time indicator has major indicator changepoints (blue bars) which occur within a two week window around the ground truth changepoints (black).</p>
130
128
</div>
131
129
</center>
132
130
<p><strong>Variable Indicators:</strong> Variable indicators are perhaps the most interesting set of indicators. For most of the available range, the JHU-CSSE new confirmed COVID-19 cases daily indicator was early, but the last changepoint was late. Many other JHU-CSSE indicators follow this pattern. Another example is the Google Symptom Search data related to smell and taste loss, specifically, “Anosmia, Dysgeusia, Ageusia.” In the figure below, we see the relationship between the indicator’s major changepoints and the ground truth change from early in the first ground truth changepoint to late in the middle of the pandemic, and then early again for the rest of the ground truth changepoints.</p>
133
131
<center>
134
-
<divclass="float">
135
-
<imgsrc="/blog/2023-12-20-changepoint_explore_files/image4.png" alt="Figure 5. This variable indicator has changepoints (blue bars) which occur early and late relative to the critical changepoints (black) established using CDC data." />
136
-
<divclass="figcaption"><strong>Figure 5.</strong> This variable indicator has changepoints (blue bars) which occur early and late relative to the critical changepoints (black) established using CDC data.</div>
<pclass="caption"><strong>Figure 5.</strong> This variable indicator has changepoints (blue bars) which occur early and late relative to the critical changepoints (black) established using CDC data.</p>
137
135
</div>
138
136
</center>
139
137
<p>
@@ -144,6 +142,7 @@ <h2>Limitations and Discussion</h2>
144
142
<p>Due to state level reporting inconsistencies, we could only analyze 60 out of 79 indicators available in the timespan investigated. Many of these indicators were missing data, like that the number of confirmed COVID-19 patients admitted to all hospitals in the state of Alaska was reported only five times within the 595 day search window. We also recognize that not all regions will be impacted by emerging variants at the same time in the same way and that a further detailed analysis which takes into account different impacts per region is an important avenue for future work.</p>
145
143
<p>Overall, Changepoint detection is a powerful tool to identify early indicators. Of Delphi’s sixty indicators, we identified several on time and early indicators of emerging variants from the data available. We also found out that for many of the indicators, the number of days they led or lagged disease phenomena changed over time. Still, if these public health indicators continue to receive high quality data, tracking these indicators closely can help us identify changing health dynamics.</p>
146
144
<p>The python notebook used for this analysis can be found on Github <ahref="https://github.com/TaraLakdawala/covid-changepoint-detection-exploration">here</a>.</p>
145
+
<p>This work was supported by the Centers for Disease Control and Prevention of the U.S. Department of Health and Human Services (HHS) as part of a cooperative agreement funded solely by CDC/HHS under federal award identification number U01IP001121, “Delphi Influenza Forecasting Center of Excellence”; and by CDC funded contract number 75D30123C15907, “Digital Public Health Surveillance for the 21st Century”. The contents are those of the authors and do not necessarily represent the official views of, nor an endorsement by, CDC/HHS or the U.S. Government. Additionally, this material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE1745016 and DGE2140739. Any opinion, findings, and conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of the National Science Foundation.</p>
Copy file name to clipboardExpand all lines: content/blog/2024-01-01-flash-intro.Rmd
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ output:
18
18
toc: true
19
19
---
20
20
21
-
Delphi publishes millions of public-health-related data points per day, including the total number of daily influenza cases, hospitalizations, and deaths per county and state in the United States (US). This data helps public health practitioners, data professionals, and members of the public make important, informed decisions relating to health and well-being.
21
+
Delphi publishes millions of public-health-related data points per day, such as the total number of daily COVID-19 cases, hospitalizations, and deaths per county and state in the United States (US). This data helps public health practitioners, data professionals, and members of the public make important, informed decisions relating to health and well-being.
22
22
23
23
Yet, as data volumes continue to grow quickly (Delphi's data volume expanded 1000x in just 3 years), it is infeasible for data reviewers to inspect every one of these data points for subtle changes in
Copy file name to clipboardExpand all lines: content/blog/2024-01-01-flash-intro.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,10 @@
26
26
<li>quality (like those resulting from data delays) or</li>
27
27
<li>disease dynamics (like an outbreak).</li>
28
28
</ul>
29
-
<p>These issues, if undetected, can have critical downstream ramifications on data users (as shown by the example in Fig 1).</p>
30
-
<divclass="float">
31
-
<imgsrc="/blog/2024-01-01-flash-intro/forecast.jpg" alt="Fig 1. Data quality changes in case counts, shown by the large spikes in March and July 2022, when cases were trending down, resulted in similar spikes for predicted counts (red) from multiple forecasts that were then sent to the US CDC. A weekly forecast per state, for cases, hospitalizations, and deaths, up to 4 weeks in the future means that modeling teams would have to review 600 forecasts per week and may not have been able to catch the upstream data issue." />
32
-
<divclass="figcaption">Fig 1. Data quality changes in case counts, shown by the large spikes in March and July 2022, when cases were trending down, resulted in similar spikes for predicted counts (red) from multiple forecasts that were then sent to the US CDC. A weekly forecast per state, for cases, hospitalizations, and deaths, up to 4 weeks in the future means that modeling teams would have to review 600 forecasts per week and may not have been able to catch the upstream data issue.</div>
29
+
<p>These issues, if undetected, can have critical downstream ramifications for data users (as shown by the example in Fig 1).</p>
<pclass="caption">Fig 1. Data quality changes in case counts, shown by the large spikes in March and July 2022, when cases were trending down, resulted in similar spikes for predicted counts (red) from multiple forecasts that were then sent to the US CDC. A weekly forecast per state, for cases, hospitalizations, and deaths, up to 4 weeks in the future means that modeling teams would have to review 600 forecasts per week and may not have been able to catch the upstream data issue.</p>
33
33
</div>
34
34
<p>We care about finding data issues like these so that we can alert downstream data users accordingly. That is why our goal in the FlaSH team (Flagging Anomalies in Streams related to public Health) is to quickly identify data points that warrant human inspection and create tools to support data review. Towards this goal, our team of researchers, engineers, and data reviewers iterate on our deployed interdisciplinary approach. In this blog series, we will cover the different methods and perspectives of the FlaSH project.</p>
35
35
<p>Members: Ananya Joshi, Nolan Gormley, Richa Gadgil, Tina Townes </p>
0 commit comments