Bayesian data assimilation for estimating instantaneous reproduction numbers during epidemics: Applications to COVID-19

Xian Yang, Shuo Wang, Yuting Xing, Ling Li, Richard Yi Da Xu, Karl J. Friston, Yike Guo

Introduction

The instantaneous reproduction number ($R_t$) is a critical metric for public health officials, representing the average number of secondary infections generated by a single infected individual at time $t$. Monitoring $R_t$ allows for real-time assessment of whether an epidemic is expanding ($R_t > 1$) or contracting ($R_t < 1$). However, standard methods for estimating $R_t$ often suffer from significant delays and "blurring" effects. This paper introduces DARt (Data Assimilation for $R_t$ estimation), a Bayesian framework designed to provide more accurate, timely, and robust estimates by jointly inferring infection counts and transmission rates.

Challenges in Real-Time Estimation

Accurately calculating $R_t$ in real-time is complicated by three primary factors:

  1. Observation Lags: There is an inherent delay between infection and reporting due to incubation periods and testing turnaround times.
  2. Temporal Blurring: Many models use sliding windows (e.g., 7-day averages) to smooth data, which inadvertently masks the immediate impact of sudden policy changes like lockdowns.
  3. Reporting Noise: Systematic noise, such as the "weekend effect" where reporting drops on non-business days, can lead to spurious fluctuations in estimated transmission rates.

The DARt Framework

DARt addresses these issues by treating the epidemic as a latent state problem. It employs a sequential Monte Carlo approach to estimate the true number of infections and $R_t$ simultaneously.

Schematic of the DARt framework showing (A) forward filtering at each time step and (B) the combined forward filtering and backward smoothing process.

Key Technical Components

  • Joint Inference: DARt avoids the errors introduced by two-step models (which back-calculate infections before estimating $R_t$) by inferring both variables at once.
  • Model Selection Mechanism ($M_t$): A novel binary "switch" allows the model to detect abrupt changes in transmission. While $R_t$ typically follows a smooth random walk, the $M_t$ variable enables the model to "reset" and capture sudden drops or spikes in transmission immediately.
  • Backward Smoothing: After the initial "forward filtering" pass, the system applies Bayesian smoothing. This process re-evaluates historical estimates based on subsequent data, effectively stripping away noise while preserving the underlying epidemiological signal.

Experimental Validation

The researchers validated DARt using both synthetic and real-world datasets, including onset data from Wuhan, China; confirmed cases in Hong Kong; the impact of the Euro 2020 tournament in the UK; and the high-noise reporting environment of Sweden.

Key Insights and Results

DARt demonstrated superior performance compared to industry standards like EpiEstim and EpiNow2:

  • Nimbleness: The $M_t$ indicator allowed DARt to recognize the effects of interventions almost instantly, whereas window-based models lagged by several days because they remained anchored to pre-intervention data.
  • Robustness to Noise: In the Swedish case study, DARt maintained a stable $R_t$ curve despite dramatic weekend reporting drops that caused other models to show wild, unrealistic oscillations.
  • Enhanced Now-casting: By explicitly encoding the reporting lag into its observation function, DARt provides a more accurate view of the current state of the epidemic than models that rely on simple fixed-day data shifting.

Conclusion and Future Work

DARt represents a significant advancement in epidemiological modeling, offering a "now-casted" view of transmission that is both sensitive to sudden changes and robust to reporting noise. While the current model assumes fixed biological parameters (like generation time), future iterations could incorporate dynamic distributions to account for emerging variants. The authors have released DARt as open-source software to support global public health monitoring efforts.

Summary updated

BibTeX
@article{yang2022bayesian,
  author = {Xian Yang and Shuo Wang and Yuting Xing and Ling Li and Richard Yi Da Xu and Karl J. Friston and Yike Guo},
  title = {{Bayesian data assimilation for estimating instantaneous reproduction numbers during epidemics: Applications to COVID-19}},
  journal = {PLOS Computational Biology},
  year = {2022},
  doi = {10.1371/journal.pcbi.1009807},
}
Figure