Updated: 2021-08-03 09:52:53 PDT

Original version created 2020-05-03. See below for revision history

Intro


The spread of the SARS-COV-19 viral disease defies description in terms of a single statistic. To be informed about personal risk we need to know more than how many people have been sick at a national level or even state level, we need information about how many people are currently sick in our communicty and how the number of sick people is changing is changing at a state and even county level. It can be hard to find this information.

This analysis seeks to fill partially that gap. It includes:
1. Several national pictures of disease trends to enable a “large pattern” view of how disease has and is evolving a on country-wide scale.
2. A per capita analysis of disease spread.
3. A more granular analysis of regions, states, and counties to shed light on local disease pattern evolution.
4. Details of the time evolution of growth statistics.
5. Other random analysis methods that come and go with my interests.

The analysis is based on data published by the NYTimes


This computed document is part of a constantly evolving analysis, so please “refresh” for the latest updates. If you have suggestions or comments please reach out on twitter @WinstonOnData or facebook if you’re a personal friend.


You’re welcome to visit my code repository on Github.
You’re also welcome to visit my analysis on the Politics of COVID
Finally, you can alway check my Rpubs for new documents and updates.

Presidential Politics and the Epidemic

An interesting phenomenon occured in disease prevalance around October 2020 when then-President Trump ignored public health recommendations and became, himself, sick with the Corona Virus, reportedly coming close to requiring a ventilator. This suddenly heavily politicized public health in an unprecendented and surprising way. The anlaysis shows the ravages of the disease had a stronger impact on his supporters than on his opponents.

By using these trend lines, we can model Trump and Biden voter disease prevalence.

National Statistics

Total & Active Cases, and Deaths

These trend charts show the national disease statistics. Note that raw daily trends are systematically related to the M-F work week.

Mortality and \(R_e\)

Distribution of \(R_e\) Values

There is a wide distribution of \(R_e\) across regions and counties. The distributions in the graph below looks roughly symmetrical because the x-scale is logarithmic.

National Maps

State Level Data

There are several maps below. These include:

  • pandemic total cases (How many people have been sick?)
  • pandemic total cases per capita (What fraction of people have been sick?)
  • daily cases per capita (what fraction of people are getting sick?)
  • forecast short term cases per capita (based on \(R_e\)) (how fast is the disease growning or shrinking?)

Pandemic Totals

Computed Reproduction Rate \(R_e\).

County Data

While the State-Level Data tell as remarkable story, outbreaks tend to be highly localized to communities - County-level data can help decode this.


Regional Snapshots

Regional snapshots reveal the highly nuanced behavior of disease spread. Each snaphot includes multiple states and selected counties.

How to read the charts

There are four components:
1. State Maps show the number of active cases and with the Reproduction rate encoded as color.
2. State Graphs State-wide trend graphs.
3. Severity Ranking These is a table of counties where the highest number of new cases are expected. Severity is a compounded function \(f(R, cases(t))\). This is useful for finding new (often unexpected) “hot spots.” Added per capita rates.
4. County Graphs encode the R-value in the active number of cases. R is the Reproduction Rate.

(NOTE: R < 1 implies a shrinking number of active cases, R > 1 implies a growing number of active cases. For R = 1, active cases are stable. ).


Washington and Oregon

California

Four Corners

Mid-Atlantic

Deep South

FL and GA

Texas & Oklahoma

Michigan & Wisconsin

Minnesota, North Dakota, and South Dakota

Connecticut, Massachusetts, and Rhode Island

New York

Vermont, New Hampshire, and Maine

Carolinas

North-Rockies

Midwest

Tennessee and Kentucky

Missouri and Arkansas

Conclusions

It’s in control some places, but not all places. And many places are completely out-of-control.

Stay Safe!
Be Diligent!
…and PLEASE WEAR A MASK



Built with R Version 4.1.0
This document took 2155.5 seconds to compute.
2021-08-03 10:28:48

version history

Today is 2021-08-03.
440 days ago: plots of multiple states.
432 days ago: include \(R_e\) computation.
429 days ago: created color coding for \(R_e\) plots.
424 days ago: reduced \(t_d\) from 14 to 12 days. 14 was the upper range of what most people are using. Wanted slightly higher bandwidth.
424 days ago: “persistence” time evolution.
417 days ago: “In control” mapping.
417 days ago: “Severity” tables to county analysis. Severity is computed from the number of new cases expected at current \(R_e\) for 6 days in the future. It does not trend \(R_e\), which could be a future enhancement.
409 days ago: Added census API functionality to compute per capita infection rates. Reduced spline spar = 0.65.
404 days ago: Added Per Capita US Map.
402 days ago: Deprecated national map. can be found here.
398 days ago: added state “Hot 10” analysis.
393 days ago: cleaned up county analysis to show cases and actual data. Moved “Hot 10” analysis to separate web page. Moved “Hot 10” here.
391 days ago: added per capita disease and mortality to state-level analysis.
379 days ago: changed to county boundaries on national map for per capita disease.
374 days ago: corrected factor of two error in death trend data.
370 days ago: removed “contained and uncontained” analysis, replacing it with county level control map.
365 days ago: added county level “baseline control” and \(R_e\) maps.
361 days ago: fixed normalization error on total disease stats plot.
354 days ago: Corrected some text matching in generating county level plots of \(R_e\).
348 days ago: adapted knot spacing for spline.
334 days ago:using separate knot spacing for spline fits of deaths and cases.
332 days ago: MAJOR UPDATE. Moved things around. Added per capita severity map.
304 days ago: improved national trends with per capita analysis.
303 days ago: added county level per capita daily cases map. testing new color scheme.
276 days ago: changed to daily mortaility tracking from ratio of overall totals.
269 days ago: added trend line to state charts.
241 days ago: decreased max value of Daily Cases per 100k State map.
234 days ago: increased max total state cases to 2,000,000 as California passes 1.5Million diagnosed cases.
211 days ago: increased max total state cases to 2.5M as California passes 2 Million diagnosed cases. Increased max cases/100k to 15k since ND passed 12k. Increased deaths / 100k to 250 as NJ passed 200.
210 days ago: increased max total state cases to 3.0M as California passes 2.5Million diagnosed cases.
201 days ago: moved some graphs around. 170 days ago: changed t-deaths_per_capita max to 300 to accomodate NJ, which now exceeds 250.
149 days ago: added presidential politics.
148 days ago: increased max total state deaths to 60000 due to California.
135 days ago: added Trump to Biden Ratio.
122 days ago: Fixed some formatting of national trend graphs.
107 days ago: increased max total state deaths to 75,000 due to California exceeding 60,000 deaths.
104 days ago: Added population weights to trump voter mortaility stats.
55 days ago: filtered for date >= 2020-07-01.

Appendix: Methods

Disease data are sourced from the NYTimes Github Repo. Population data are sourced from the US Census census.gov

Case growth is assumed to follow a linear-partial differential equation. This type of model is useful in populations where there is still very low immunity and high susceptibility.

\[\frac{\partial}{\partial t} cases(t, t_d) = a \times cases(t, t_d) \] \(cases(t)\) is the number of active cases at \(t\) dependent on recent history, \(t_d\). The constant \(a\) and has units of \(time^{-1}\) and is typically computed on a daily basis

Solution results are often expressed in terms of the Effective Reproduction Rate \(R_e\), where \[a \space = \space ln(R_e).\]

\(R_e\) has a simple interpretation; when \(R_e \space > \space 1\) the number of \(cases(t)\) increases (exponentially) while when \(R_e \space < \space 1\) the number of \(cases(t)\) decreases.

Practically, computing \(a\) can be extremely complicated, depending on how functionally it is related to history \(t_d\). And guessing functional forms can be as much art as science. To avoid that, let’s keep things simple…

Assuming a straight-forward flat time of latent infection \(t_d\) = 12 days, with \[f(t) = \int_{t - t_d}^{t}cases(t')\; dt' ,\] \(R_e\) reduces to a simple computation

\[R_e(t) = \frac{cases(t)}{\int_{t - t_d}^{t}cases(t')\; dt'} \times t_d .\]

Typical range of \(t_d\) range \(7 \geq t_d \geq 14\). The only other numerical treatment is, in order to reduce noise the data, I smooth case data with a reticulated spline to compute derivatives.


DISCLAIMER: Results are for entertainment purposes only. Please consult local authorities for official data and forecasts.