EpiGro codes and data repository

View the Project on GitHub JocelineLega/EpiGro

EpiGro & EpiCovDA

EpiGro is a disease outbreak forecasting tool. It started (v.1.0) as a phenonmenological model that described disease incidence as a quadratic function of the cumulative number of cases. Version 2.0 incorporated the exact definition of the ICC (Incidence vs. Cumulative Cases) curve for the SIR model, thereby transforming EpiGro into a mechanistic model. Version 3.0, a.k.a. EpiCovDA, developed for COVID-19 forecasting, combines the mechanistic approach of EpiGro v.2.0 with variational data assimilation techniques.

EpiGro v.1.0


EpiGro v.1.0 was developed in response to the DARPA Chikungunya Challenge and is described in Lega & Brown (2016). The approach relies on the empirical observation that weekly incidence data for the 2014 outbreak of chikungunya in various states and territories in the Americas, when plotted as a function of the cumulative number of cases, can be fitted with a parabola. This simple fact means that the cumulative number of cases may in turn be approximated by a quantity that follows logistic growth, confirming previous observations reported in the literature for other diseases (Chowell et al., 2014).

EpiGro won the DARPA Challenge and an analysis of the methods used by challenge participants revealed that simpler models generally performed better than complex ones (Del Valle et al., 2018). More details on our approach may be found on our chikungunya modeling challenge site.


The codes released for EpiGro v.1.0 consist of a MATLAB Graphical User Interface (GUI) that compares cumulative epidemiological data to logistic growth, by fitting a prabola to incidence (growth rate) plotted as a function of the cumulative cases. Users may import their own epidemiological data or select some of the datasets provided. The GUI also allows to model outbreaks that are comprised of two separate waves (via the two-parabola option).

EpiGro GUI

EpiGro v.2.0


EpiGro v.2.0 fits epidemiological outbreak data to the ICC curve of the SIR model. The exact formulation, derived in Lega (2020), is given by

where I is incidence, β is the contact rate of the disease, C is the cumulative number of cases, N is the effective population size, R0 is the basic reproductive number, and κ represents initial conditions.

The following results are also established in Lega (2020).

  1. Solving the differential equation given by the above ICC curve (with incidence I equal to the time derivative of C) is equivalent to solving the SIR model.
  2. For fixed N, there is a unique set of parameter values β, R0, and κ that minimizes the RMSE between the resulting ICC curve and the data points. This form of itentifiability is one of the main advantages of fitting ICC curves, rather than epidemiological curves, to outbreak data.

Due to its equivalence with the SIR model, EpiGro v.2.0 is a mechanistic approach that fits a SIR model to outbreak data.


The MATLAB codes provided for version 2.0 of EpiGro were used to generate the figures of Lega (2020). They may be run to find the ICC curve associated with user-provided epidemiological data and estimate ranges of suitable parameter values in the presence of reporting noise. They also describe a method to find a range of values of N if the latter variable is unknown.

ICC curve for the COVID-19 outbreak in Arizona

EpiGro v.3.0 - EpiCovDA


EpiGro v.3.0, or EpiCovDA combines variational data assimilation methods with the exact formulation of the SIR ICC curve, to provide forecasts for ongoing outbreaks. Details will be provided in Biegel & Lega (2021). The model assumes that current interventions (such as social-distancing measures or stay-at-home orders) will remain in effect for at least four weeks after the forecasts are made.

Priors are found by processing the early stages of the outbreak data with EpiGro v.2.0. The data assimilation step identifies parameters by minimizing a cost function that combines distance from prior values as well as distance between data points collected in the last 3 to 14 days and the parametrized ICC curves. Case forecasts are obtained by integration of ICC curves for parameter values in the posterior distribution, augmented by resampling of the results with a normal distribution. Death forecasts are estimated as a delayed fraction of case forecasts.

EpiCovDA April 16 forecasts for the COVID-19 outbreak in Arizona


Creative Commons License
The codes in this repository are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. See LICENSE.txt for additional information.