Activity that changes over time

People move between busy and quiet phases. The growth rate, the reproduction number and the immunity factor then have closed forms, and the excess immunity factor in the growth phase is the growth rate times the Green–Kubo number of activity.

The model

Each person's activity $a$ is high or low, $a \in \{a_1, a_2\}$, with long-run shares $p_1, p_2$. Activity is scaled to mean 1, and its variance is $\sigma^2$. A two-point law satisfies

$$(a - 1)^2 = c\,(a - 1) + \sigma^2$$

for a constant $c$ that sets the skew.

Activity switches on a Markov clock and forgets its state at rate $\kappa$, so its correlation time is $1/\kappa$. It raises both the chance of being infected and the number infected.

A person with activity $a$ is infected at rate $\beta\,a\,\Phi$, where $\Phi = \sum_k a_k I_k$ is the activity-weighted number infectious. Infectious people recover at rate $\gamma$, and everyone keeps switching.

Early growth

Look for infections growing like $e^{rt}$ with profile $v$ over the two activity levels. With $Q$ the switching generator,

$$v = \beta\,\Phi\,(r + \gamma - Q^\top)^{-1}(a \circ p) .$$

The stationary law $p$ is fixed by $Q^\top$, and the deviation $(a - 1)\circ p$ decays at rate $\kappa$. The resolvent therefore acts on just these two directions:

$$(r + \gamma - Q^\top)^{-1}(a \circ p) = \frac{p}{r + \gamma} + \frac{(a - 1)\circ p}{r + \gamma + \kappa} .$$

Taking the activity-weighted total gives the growth equation:

$$1 = \beta\Big(\frac{1}{r + \gamma} + \frac{\sigma^2}{r + \gamma + \kappa}\Big), \qquad R_0 = \beta\Big(\frac1\gamma + \frac{\sigma^2}{\gamma + \kappa}\Big) .$$

Busy people infect busy people. The second term is that correlation, kept for as long as a busy phase outlasts the infection.

The immunity factor

While the epidemic grows, susceptibles are removed along the same profile, and the depletion splits on the same two directions. Write $\rho = r/(r + \kappa)$ for the share of the busy phase that survives one growth time. Linearizing the effective reproduction number in the infected share gives

$$\lambda = \frac{\dfrac{1 + \sigma^2\rho}{\gamma} + \dfrac{\sigma^2\big(1 + (1 + c)\rho\big)}{\gamma + \kappa}} {\dfrac1\gamma + \dfrac{\sigma^2}{\gamma + \kappa}}, \qquad \rho = \frac{r}{r + \kappa} .$$

When activity never changes ($\kappa = 0$) this is $\langle a^3\rangle / \langle a^2\rangle$, the value for persistent heterogeneity. When it changes very fast ($\kappa \to \infty$) it is 1, the homogeneous value.

For fast switching, to first order,

$$\lambda - 1 \approx r\,K_a, \qquad K_a = \frac{\sigma^2}{\kappa},$$

where $K_a$ is the Green–Kubo number of activity, its variance times its correlation time. A fast epidemic outruns the reshuffling of activity and depletes the busy phase before it is refilled.

Both formulas agree with the numerical solution of the model: the growth rate to four digits and $\lambda$ to 0.1-0.3%. Code: 04_activity_switching.py.

New York City

Calibrate $\beta$ to New York City's early growth, with deaths doubling in about three days ($r = \ln 2/3$ per day), and $\gamma = 0.2$. A homogeneous reading gives $R = 2.16$ and a threshold of 54%. With activity switching and no mitigation at all, the first peak of infections comes at

activity variance $\sigma^2$correlation time $1/\kappa$$\lambda$ in the growth phaseinfected at the first peaklong-run threshold $1 - 1/R_0$
0.510 days1.640%51%
110 days2.331%50%
1100 days2.925%53%
210 days3.622%48%
233 days4.517%51%
410 days6.313%46%

Gamma-like skew, $c = 2\sigma^2$. Code: 05_nyc_scenarios.py.

New York City's serology after the first wave was 23%. The row with variance 2 and a 10-day correlation time turns at 22%, with $\lambda = 3.6$. Tkachenko et al. (2021) fitted $\lambda \approx 4$ to New York City and Chicago with a numerical model of time-varying activity.

New York City also locked down on 22 March 2020, so its turnover cannot be credited to activity alone.

After the first wave

The long-run threshold stays near 50% in every row. As busy and quiet people trade places, the immunity factor relaxes toward 1. The first turnover is then temporary: in Manaus, where control was weak, infection went on to 66-76% after turning early (Serology by country).

Fixed heterogeneity makes the opposite prediction. The busiest stay immune, and later waves need new susceptibles.