Skip to main content
AAAS - PMC COVID-19 Collection logoLink to AAAS - PMC COVID-19 Collection
. 2020 May 15:eabb9789. doi: 10.1126/science.abb9789

Inferring change points in the spread of COVID-19 reveals the effectiveness of interventions

Jonas Dehning 1,*, Johannes Zierenberg 1,*, F Paul Spitzner 1,*, Michael Wibral 2, Joao Pinheiro Neto 1, Michael Wilczek 1,3,*, Viola Priesemann 1,3,4,*,
PMCID: PMC7239331  PMID: 32414780

Abstract

As COVID-19 is rapidly spreading across the globe, short-term modeling forecasts provide time-critical information for decisions on containment and mitigation strategies. A major challenge for short-term forecasts is the assessment of key epidemiological parameters and how they change when first interventions show an effect. By combining an established epidemiological model with Bayesian inference, we analyze the time dependence of the effective growth rate of new infections. Focusing on COVID-19 spread in Germany, we detect change points in the effective growth rate that correlate well with the times of publicly announced interventions. Thereby, we can quantify the effect of interventions, and we can incorporate the corresponding change points into forecasts of future scenarios and case numbers. Our code is freely available and can be readily adapted to any country or region.


During the initial outbreak of an epidemic, reliable short-term forecasts are key to estimate medical requirements and capacities, and to inform and advise the public and decision makers (1). During this initial phase, three tasks are important to provide time-critical information for crisis mitigation: (i) establishing central epidemiological parameters, such as the basic reproduction number, that can be used for short-term forecasting; (ii) simulating the effects of different possible interventions aimed at the mitigation of the outbreak; (iii) estimating the actual effects of the measures taken not only to make rapid adjustments but also to adapt short-term forecasts. Tackling these tasks is challenging due to the large statistical and systematic errors that occur during the initial stages of an epidemic when case numbers are low. This is further complicated by the fact that mitigation measures are taken rapidly while the outbreak unfolds, but they take effect only after an unknown delay. To obtain reasonable parameter estimates for short-term forecasting and policy evaluation despite these complications, any prior knowledge available needs to be integrated into modeling efforts to reduce uncertainties. This includes knowledge about basic mechanisms of disease transmission, recovery, as well as preliminary estimates of epidemiological parameters from other countries, or from closely related pathogens. The integration of prior knowledge, the quantitative assessment of the remaining uncertainties about epidemiological parameters, and the principled propagation of these uncertainties into forecasts is the domain of Bayesian modeling and inference (2, 3).

Here, we draw on an established class of models for epidemic outbreaks: The Susceptible-Infected-Recovered (SIR) model (47) specifies the rates that population compartments change over time, i.e., when susceptible people become infectious, and when infectious people recover. This simple model can be formulated in terms of coupled ordinary differential equations (in mean field), which enable analytical treatment (8, 9) or fast evaluation (ideally suited for Bayesian inference). Accordingly, SIR-like models have been used to model epidemic spreads, from Bayesian Markov Chain Monte Carlo (MCMC) parameter estimation (1012) to detailed scenario discussions (1316). This family of models has played a dominant role in the analyses of the coronavirus (SARS-CoV-2) pandemic, from inference (1719) through scenario forecasting (2027) to control strategies (28, 29).

We combine the SIR model (and generalizations thereof) with Bayesian parameter inference and augment the model by a time-dependent spreading rate. The time dependence is implemented via potential change points that reflect changes in the spreading rate driven by governmental interventions. Based on three distinct measures taken in Germany, we detect three corresponding change points in the reported COVID-19 case numbers. by April 1, 2020 we reported evidence for the first two change points, and predicted the third (30). Now, with data until April 21, we have evidence for all three change points. First, the spreading rate decreased from 0.43 (with 95% credible interval, CI [0.35,0.51]) to 0.25 (CI [0.20,0.30]), with this decrease initiated around March 7 (CI [3, 10]). This matches the cancellation of large public events, such as trade fairs and soccer matches. Second, the spreading rate decreased further to 0.15 (CI [0.12,0.20]) initiated around March 16 (CI [14, 18]). This matches closure of schools, childcare facilities, and non-essential stores. Third, the spreading rate decreased further to 0.09 (CI [0.06,0.13]) initiated around March 24 (CI [21, 26]). This corresponds to the strict contact ban, which was announced on March 22. While the first two change points were not sufficient to trigger a shift from the growth of novel cases to a decline, the third change point brought this crucial reversal.

Our framework is designed to infer the effectiveness of past measures and to explore potential future scenarios along with propagating the respective uncertainties. In the following, we demonstrate the potential impact of timing and magnitude of change points, and report our inference about the three past governmental interventions in Germany. Our framework can be readily adapted to any other country or region. The code (already including data sources from many other countries), as well as the figures are all available on Github (31).

Basic inference of central epidemiological parameters during the initial phase of the outbreak in Germany

To assess the general effect of different possible interventions on the spread of COVID-19 in Germany, we first focus on the initial phase of the outbreak when no serious mitigation measures were implemented. In the absence of interventions, an epidemic outbreak can be described by SIR models with constant spreading rate (Methods). In Germany, the first serious interventions occurred around March 9, 2020 and affected the case reports after an observation delay (a combination of incubation period with a median 5–6 days (32)) and a test delay (time until doctor is visited plus test-evaluation time that we assumed to be both about 2–3 days). Hence, to infer central epidemiological parameters, we considered the initial phase to be March 2 to March 15. The central epidemiological parameters estimated here will also be estimated under the full model with change points on the data records up to April 21, allowing for a consistency check.

We perform Bayesian inference for the central epidemiological parameters of an SIR model using Markov-Chain Monte Carlo (MCMC) sampling (Fig. 1). The central parameters are the spreading rate λ, the recovery rate μ, the reporting delay D and the number of initially infected people I0. We chose informative priors based on available knowledge for λ, μ and D, and we chose uninformative priors for the remaining parameters (Methods). Also, we intentionally kept the informative priors as broad as possible, such that the data would constrain the parameters (Fig. 1).

Fig. 1. Inference of central epidemiological parameters of the SIR model during the initial onset period, March 2–15.

Fig. 1

A: The number of new cases and B: the total (cumulative) number of cases increase exponentially over time. C–H: Prior (gray) and posterior (orange) distributions for all model parameters: estimated spreading rate λ, recovery rate μ, reporting delay D between infection date and reporting date, number of cases I0 at the start of the simulation, scale-factor σ of the width of the likelihood distribution, and the effective growth rate λ*=λμ. I: Log-likelihood distribution for different combinations of λ and μ. A linear combination of λ and μ yields the same maximal likelihood (black line). White dot: Inference did not converge.

As median estimates, we obtain for the spreading rate λ=0.41, μ=0.12, D=8.6, and I0=19 (see Fig. 1, C to H, for the posterior distributions and the 95% credible intervals). Converted to the basic reproduction number R0=λ/μ, we find a median R0=3.4 (CI [2.4, 4.7]), which is consistent with previous reports that find median values between 2.3 and 3.3 (18, 33, 34). Overall, the model shows good agreement with both new cases (Fig. 1 A) and cumulative cases (Fig. 1 B), which show the expected exponential growth (linear in log-lin plot). The observed data are clearly informative about λ, I0 and σ (indicated by the difference between the priors (gray line) and posteriors (histograms) in Fig. 1, D to F). However, μ and D are largely determined by our prior choice of parameters (histograms match gray line in Fig. 1, C and H). This is to be expected for the initial phase of an epidemic outbreak, which is dominated by exponential growth.

To quantify the impact of possible interventions, we concentrate on the effective growth of active infections before and after the intervention. As long as the number of infections and recoveries are small compared to the population size, the number of active infections per day can be approximated by an exponential growth (Fig. 1, A and B) with effective growth rate λ*=λμ (see Methods). As a consequence, λ and μ cannot be estimated independently. This is further supported by a systematic scan of the model’s log-likelihood in the (λμ)-space that shows an equipotential line for the maximum likelihood (Fig. 1I). This strongly suggests that the growth rate λ* is the relevant free parameter with a median λ*=28% (Fig. 1G). The control parameter of the dynamics in the exponential phase is thus the (effective) growth rate: If the growth rate is larger than zero (λ>μ), case numbers grow exponentially; if the growth rate is smaller than zero (λ<μ), recovery dominates and new cases decrease. The two different dynamics (supercritical and subcritical, respectively) are separated by a critical point at λ*=0 (λ=μ) (35).

Magnitude and timing of interventions matter for the mitigation of the outbreak

To simulate the effect of different possible interventions, we model the effects of interventions as change points in the spreading rate (Methods). We consider different, hypothetical interventions following the initial phase to show that both, the amount of change in behavior (leading to a change in spreading rate λ; Fig. 2A) and the exact timing of the change (Fig. 2B) determine future development. Hypothetical interventions build on the inferred parameters from the initial phase (in particular median λ0=0.41 and median μ=0.12; Fig. 1) and were implemented as change points in the spreading rate from the inferred λ0 to a new value λ1. With such a change point, we model three potential scenarios of public behavior:

Fig. 2. The timing and effectiveness of interventions strongly impact future COVID-19 cases.

Fig. 2

A: We assume three different scenarios for interventions starting on March 16: (I, red) no social distancing, (II, orange) mild social distancing, or (III, green) strict social distancing. B: Delaying the restrictions has a major impact on case numbers: strict restrictions starting on March 16 (green), five days later (magenta) or five days earlier (gray). C: Comparison of the time span over which interventions ramp up to full effect. For all ramps that are centered around the same day, the resulting case numbers are fairly similar. However, a sudden change of the spreading rate can cause a temporary decrease of daily new cases, although λ>μ at all times (brown).

(i) No social distancing: Public behavior is unaltered and spread continues with the inferred rate (λ1=λ0 with median λ1=0.41>μ).

(ii) Mild social distancing: The spreading rate decreases to 50%, (λ1=λ0 / 2 with median λ1=0.21>μ). Although people effectively reduce the number of contacts by a factor of two in this second scenario, the total number of reported cases continues to grow alongside scenario (i) for the time period of the reporting delay D (median D=8.6 from initial phase, see below for a more constrained estimation). Also, we still observe an exponential increase of new infections after the intervention becomes effective, because the growth rate remains positive, λ1*=λ1μ>0.

(iii) Strong social distancing: Here, the spreading rate decreases to 10%, (λ1=λ0 / 10 with median λ1=0.04<μ). The assumptions here are that contacts are severely limited, but even when people stay at home as much as possible, some contacts are still unavoidable. Even under such drastic policy changes, no effect is visible until the reporting delay D is over. Thereafter, a quick decrease in daily new infections manifests within two weeks (delay plus change point duration), and the total number of cases reaches a stable plateau. Only in this last phase is a plateau reached, because here the growth rate becomes negative, λ*<0, which leads to decreasing numbers of new infections.

In this, the timing of an intervention matters: Apart from the strength of an intervention, its onset time has great impact on the total case number (Fig. 2, B and C). For example, focusing on the strong intervention (iii), by which a stable plateau is reached, the effect of advancing or delaying the change point by just five days leads to more than a three-fold difference in cumulative cases.

While we find that the timing of an intervention has a great effect on case numbers, the duration over which the change takes place has only minor effect if the intervals of change are centered around the same date. In Fig. 2C we illustrate the adjustment of λ0λ1 for mild social distancing with durations of 14, 7 and 1 day(s). The change point duration is a simple way to incorporate variability in individual behavior, and is not linked to the reporting delay D. As an interesting effect, a sudden change in the spreading rate can lead to a temporary decrease of new case numbers, despite the fact that the effective growth rate remains positive at all times.

Change point detection for the spread of COVID-19 in Germany

To model real-world data, we further refined the SIR model. Most importantly, we account for systematic variations of case reports throughout the week, in particular lower case numbers on the weekend, by explicitly modeling a weekly reporting modulation (see Methods). Indeed, comparisons confirm that models with this correction outperform those without (see table S2). In the supplemental material, we further generalize our model to include an explicit incubation period (as in SEIR models; fig. S3) that yields results consistent with our main model.

We incorporate the effect of governmental interventions into our models by introducing flexible change points in the spreading rate (see Methods). During the COVID-19 outbreak in Germany, governmental interventions occurred in three stages from (i) the cancellation of large events with more than 1000 participants (around March 9), through (ii) closing of schools, childcare facilities and the majority of stores (in effect March 16), to (iii) the contact ban and closing of all non-essential stores (in effect March 23). The aim of all these interventions was to reduce the (effective) growth rate λ*=λμ. As soon as the growth rate becomes negative (λ*<0), the number of new confirmed infections decreases after the respective reporting delay.

Detecting change points in the spreading rate and quantifying the amount of change as quickly as possible becomes a central modeling challenge when short-term forecasts are required. To address this challenge, we assume an initial spreading rate λ0 (the exponential growth phase; Fig. 1) and up to three potential change points motivated by German governmental interventions: In our modelling the first change point (λ0λ1) is expected around March 9 (t1) as a result of the official recommendations to cancel large events. A second change point (λ1λ2) is expected around March 16 (t2), when schools and many stores were closed. A third change point (λ2λ3) is expected around March 23 (t3), when all non-essential stores were closed, and a contact ban was enacted. We model the behavioral changes that are introduced at these change points to unfold over a few days (Δti), but the changes in duration can be partly compensated by changes in the onset time (ti) (see Fig. 2C, scenarios). We chose priors for all parameters based on the information available to us up to March 28 (see Methods). In addition, we performed a sensitivity analysis by employing wider priors in the supplemental material (figs. S5 to S7 and table S2), which yielded consistent results. On March 28, the data were already informative about the first change point, and thereby helped to inform our forecast scenarios.

The inferred parameters for the models with change points are consistent with the inferred parameters from the exponential onset phase (Figs. 1 and 3 and figs. S1 and S2). In particular, all estimated λ0-values from models with multiple change points are compatible with the value of the model without change points (during the exponential onset phase, λ0=0.41, CI [0.32,0.51], assuming a stationary λ until March 15; Fig. 1E). Also the scale factor σ and the number of initial infections I0 for the models with change points are consistent with the initial model inference during the exponential onset phase (Fig. 1, D to F).

Fig. 3. Bayesian analysis of the German COVID-19 data (blue diamonds) until April 21 reveals three change points that are consistent with three major governmental interventions.

Fig. 3

A: Time-dependent model estimate of the effective spreading rate λ*(t). B: Comparison of daily new reported cases and the model (green solid line for median fit with 95% credible intervals, dashed line for median forecast with 95% CI); inset: same data in log-lin scale. C: Comparison of total reported cases and the model (same representation as in B). D–F: Priors (gray lines) and posteriors (green histograms) of all model parameters; inset values indicate the median and 95% credible intervals of the posteriors. For the same model with one or two change points, please see the corresponding figures in the SI (figs. S1 and S2 and table S2).

Models with two or three change points fit the observed data better

The models with three change points describe the data better than models with fewer change points, as indicated by the leave-one-out (LOO) cross-validation-based Bayesian model comparison (36) (lowest LOO-score in Table 1). However, the LOO-scores of the model with two and three change points differ by less than one standard error. This originates from an extended duration of the second change point in the two-change-point model, which partially captures the effect of the third intervention. As expected, the models with none or a single change point have LOO-scores that are at least one standard deviation higher (worse) than those of the best models, and we will not consider them further.

Table 1. Model comparison shows that the three-change-point model describes the data best.

Leave-one-out (LOO) cross-validation for main models (SIR with weekend correction) and a different number of change points. Lower LOO-scores represent a better match between model and data.

Model LOO-score Effective number
of parameters (pLOO)
zero change points 927±9 8.31
one change points 819±16 13.46
two change points 796±17 12.53
three change points 787±17 13.42

When comparing our inference based on three change points to the number of confirmed cases, we find them to largely match (Fig. 3, B and C). The dominant periodic change in the daily new reported cases (Fig. 3B) is well described by the weekday modulation. In addition to the periodic change, the daily new case numbers also reflect the fairly sudden change of the spreading rate at the change points (cf. Fig. 2 and fig. S4 for the effect of change points without the modulation). Most importantly, the cumulative effect of change points manifests in an overarching decay in new case numbers that is visible after April 5 and follows the third change point (with reporting delay).

Change point detection quantifies the effect of governmental interventions

Ideally, detected changes can be related to specific mitigation measures, so that one gains insights into the effectiveness of different measures (Fig. 3). Indeed, we found clear evidence for three change points in the posterior distributions of the model parameters: First, λ(t) decreased from λ0=0.43 (with 95% credible interval, CI [0.35,0.51]) to λ1=0.25 (CI [0.20, 0.30]). The date of the change point was inferred to be March 7 (CI [3, 10])]; this inferred date matches the timing of the first governmental intervention which included cancellations of large events, as well as increased awareness. After this first intervention, the (effective) growth rate λ*(t)=λ(t)μ decreased by more than a factor of 2, from median λ0μ=0.3 to median λ1μ=0.12, given that the recovery rate was inferred as μ=0.13 (CI [0.09, 0.18]). At the second change point λ(t) decreased from λ1=0.25 to λ2=0.15 (CI [0.12, 0.20]), which is larger than our prior assumption. The date of this change point was inferred to be March 16 (CI [14, 18])]; this inferred date matches the timing of the second governmental intervention including closing schools and some stores. After this second intervention, the median growth rate became λ*(t)=λ2μ=0.020 and is thus in the vicinity of the critical point, yet still positive. The first two interventions thereby mitigated spread of COVID-19 in Germany by drastically reducing the growth rate, but the spread remained exponential. A third change point, when λ(t) decreased from λ2=0.15 to λ3=0.09 (CI [0.06, 0.13]) was inferred on March 24 (CI [21, 26])]; this inferred date matches the timing of the third governmental intervention including contact ban and closing of all non-essential stores. Only after this third intervention, the median (effective) growth rate, λ*(t)=λ3μ=0.03<0 (CI [0.05,0.02])], finally became negative, indicating a decrease in the number of new infections. We can thus clearly relate the change points to the governmental interventions and quantify their effect.

Discussion

We presented a Bayesian approach for monitoring of the effect of non-pharmaceutical governmental interventions on the epidemic spread of an infectious respiratory disease. Using the example of the COVID-19 outbreak in Germany, we applied this approach to infer the central epidemiological parameters and three change points in the spreading rate from the number of reported cases. We showed that change points in the spreading rate affect the confirmed case numbers with a delay of about two weeks (median reporting delay of D=11.4 days plus a median change-point duration of 3 days). Thereby, we were able to relate the inferred change points to the three major governmental interventions in Germany: We found a clear reduction of the spreading rate related to each governmental intervention and the concurring adaptation of individual behavior (Fig. 3), (i) the cancellation of large events with more than 1000 participants (around March 9), (ii) the closing of schools, childcare centers and the majority of stores (in effect March 16), and (iii) the contact ban and closing of all non-essential stores (in effect March 23).

Our results indicate that the full extent of interventions was necessary to stop exponential growth. The first two interventions brought a reduction of the growth rate λ* from 30% to 12% and down to 2%, respectively. However, these numbers still implied exponential growth. Only with the third intervention, the contact ban, we found that the epidemic changed from growth to decay. However, the decay rate of about 3% (CI [5%,2%]) remains close to zero. Hence, even a minor increase in the spreading rate may again switch the dynamics to the unstable regime with exponential growth.

We used a formal Bayesian model comparison to validate the presence of change points. Our model comparison ruled out models with fewer than two change points (Table 1 and table S2). While this may seem trivial, it has important consequences for making short-term forecasts that decision makers rely on. Demonstrating and quantifying the effect of past change points can be used to formulate priors for the effects of future, similar change points. These priors help to project the effects of more recent change points into future forecasts, even when these change points are not yet apparent in the reported case numbers. Consequently, it is important to look out for and identify potential change points as early as possible to incorporate them into forecasts.

The detection of change points and their interpretation depend crucially on an accurate estimate of the reporting delay D. Therefore, the validity of its estimate should be evaluated. In our model, D contains at least three distinct factors: the biological incubation period (median 5–6 days) (32), an additional delay from first symptoms to symptoms motivating a test (1–3 days) and a possible delay before a testing results come in (1–4 days). The sum of these delays seems compatible with our inferred median delay of D=11.4 days, especially given the wide range of reported incubation periods.

We chose to keep our main model comparatively simple, because of the small number of data points initially available during an epidemic outbreak. With few data points, only a limited number of parameters can be effectively constrained. Hence, we chose to approximate a time-dependent spreading rate λ(t) by episodes of constant spreading rates λi that are separated by three change points where a transition occurs. Our results show that this main model is currently sufficient for Germany. While we introduced fairly broad priors on the spreading rates, we obtained comparably narrow posterior distributions for each spreading rate λi (Fig. 3). We additionally evaluated extensions of our main model with three change points, e.g., by explicitly taking into account the incubation period (fig. S3). These models yield consistent results for the three change points, and all have LOO scores within one standard error of each other. Thus, we consider our main model to be sufficient for case numbers in Germany at present.

Our framework can be easily adapted to other countries and enables incorporation of future developments. For other countries, or for forecasts within smaller communities (e.g., federal states or cities), additional details may become important, such as explicit modeling of incubation time distributions (17, 37) (i.e., as in fig. S3), spatial heterogeneity (17, 21), isolation effects (20, 37), subsampling effects hiding undetected cases even beyond the reporting delay (38, 39), or the age and contact structure of the population (26). In countries where major changes in test coverage are expected, this will have to be included as well. The methodology presented here is capable in principle of incorporating such details. It also lends itself to modeling of continuous drifts in the spreading rate, e.g., reflecting reactions of the public to news coverage of a catastrophic situation, or people growing tired of mitigation measures. Such further adaptations, however, can only be performed on a per-country basis by experts with an intimate knowledge of the local situation. Our code provides a solid and extensible base for this. For Germany, several developments in the near future may have to be included in the model. First, people may have transiently changed their behavior over the Easter holidays; second, we expect a series of change points, as well as continuous drifts, with governments trying to ease and calibrate mitigation measures. Third, extensions to hierarchical models will enable regional assessments, e.g., on the level of federal states.

Even after the three major governmental interventions in Germany, effective growth rates remain close to zero and warrant careful consideration of future measures. At present, estimates of effective growth rates dropped to 3% and thereby remain close to zero – the watershed between exponential growth or decay. Together with the delay of approximately two weeks between infection and case report this warrants caution in lifting restrictions for two reasons. First, lifting restrictions too much will quickly lead to renewed exponential growth and second, we would be effectively blind to this worsened situation for nearly two weeks in which it transmission will be uninhibited. This may result in a growth in case numbers beyond the level that the health system can cope with, especially if active cases are not close to zero before lifting restrictions. Therefore, it is important to consider lifting restrictions only when the number of active cases are so low that a two-week increase will not pose a serious threat to healthcare infrastructure.

In conclusion, our Bayesian approach allows detection and quantification of the effect of governmental interventions and, combined with potential subsequent interventions, forecasting future case number scenarios. Our analysis highlights the importance of precise timing and magnitude of interventions for future case numbers. It also stresses the importance of including the reporting delay D between the date of infection and the date of the confirmed case in the model. The reporting delay, D, together with the time required to implement interventions means that changes in our behavior today can only be detected in confirmed cases in two weeks time. Thus, this delay, combined with a current spreading rate that is still close to zero, indicates extremely careful planning of future measures is essential.

Materials and methods

As a basis for our Bayesian inference and the forecast scenarios, we use the differential equations of the well-established SIR (Susceptible-Infected-Recovered) model. We also test the robustness of our results by means of more sophisticated models, in particular an SEIR-like model that explicitly incorporates an incubation period (fig. S3). While the SIR model-dynamics is well understood in general, here our main challenge is to estimate model parameters specifically for the COVID-19 outbreak, and to use them for forecasting. To that end, we combined a Bayesian approach — to incorporate prior knowledge — with Markov Chain Monte Carlo (MCMC) sampling — to compute the posterior distribution of the parameters and to sample from it for forecasting. Put simply, we first estimate the parameter distribution that best describes the observed situation, and then we use many samples from this parameter distribution to evolve the model equations and thus forecast future developments.

The data used comes from the Johns Hopkins University Center for Systems Science and Engineering (JHU CSSE) dashboard (40). The JHU CSSE provides up-to-date data on COVID-19 infections, usually a few days ahead of official German sources. The exact version of the data and code is available at (31). Data were incorporated until April 21. Note that after this cutoff date, additional modeling of the effects of behavioral changes over the Easter holidays becomes necessary.

Simple model: SIR model with stationary spreading rate

We consider a time-discrete version of the standard SIR model. In short, we assume that the disease spreads at rate λ from the infected population compartment (I) to the susceptible compartment (S), and that the infected population compartment recovers (R) at rate μ. This well-established model for disease spreading can be described by the following set of (deterministic) ordinary differential equations (see, e.g., Refs (5, 6, 20)). Within a population of size N,

dSdt=λSINdIdt=λSINμIdRdt=μI . (1)

As a remark, during the onset phase of an epidemic only a very small fraction of the population is infected (I) or recovered (R), and thus SNI such that S/N1. Therefore, the differential equation for the infected reduces to a simple linear equation, exhibiting an exponential growth

dIdt=(λμ)I    solved by    I(t)=I(0)e(λμ)t . (2)

Because our data set is discrete in time (Δt=1 day), we solve the above differential equations with a discrete time step (dI/dtΔI/Δt), such that

StSt1=λΔtSt1NIt1=:ItnewRtRt1=    μΔtIt1=:    RtnewItIt1=(λSt1Nμ)ΔtIt1=ItnewRtnew . (3)

Importantly, It models the number of all (currently) active infected people, while Itnew is the number of new infections that will eventually be reported according to standard WHO convention. Importantly, we explicitly include a reporting delay D between new infections Itnew and newly reported cases (Ct) as

Ct=ItDnew. (4)

We begin our simulations at time t=0 with I0 infected cases and start including real-word data of reported cases C^t from day t>D (see below for a parameterization).

In our model we do not explicitly incorporate the inflow of additional infected people by travel for two reasons. First, we implicitly model the initial surge of infections with I0. Second, previous work showed that travel during the outbreak has only modest effects on the dynamics, e.g., travel restrictions in China merely delayed the exponential spread if not combined with reductions of spreading (41).

Full model: SIR model with weekly reporting modulation and change points in spreading rate

Our change point detection builds on a generalization of the simple SIR model with stationary spreading rate. We now assume that the spreading rate λi, i=1,...,n, may change at certain time points ti from λi1 to λi, linearly over a time window of Δti days. Thereby, we account for policy changes to reduce λ, which were implemented in Germany step by step. Thus, the parameters ti, Δti, and λi are added to the parameter set of the simple model above, and the differential equations are augmented by the time-varying λi.

In addition, we include a weekly modulation to account for lower case reports around the weekend which subsequently accumulate during the week. To model the systematic variation of case reports during the week, we adapted the newly reported cases by a reporting fraction

Ct=ItDnew(1f(t)) ,        withf(t)=(1fw)(1|sin(π7t12Φw)|) , (5)

where fw and Φw will also be constrained by the data.

Estimating model parameters with Bayesian MCMC

We estimate the set of model parameters θ={λi,ti,μ,D,σ,I0,fw,Φw} using Bayesian inference with Markov-chain Monte-Carlo (MCMC). The parameter σ is the scale factor for the width of the likelihood P(C^t|θ) between observed data and model (see below). Our implementation relies on the python package PyMC3 (42) with NUTS (No-U-Turn Sampling) (43) using multiple, independent Markov chains. The structure of our approach is the following:

Initialization of the Markov chains via variational inference

The posterior is approximated by Gaussian distributions ignoring correlations between parameters through automatic differentiation variational inference (ADVI) (44), which is implemented in PyMC3. From this distribution, four starting points for four chains are sampled.

Burn-in phase

Each chain performs 1000 burn-in (tuning) steps using NUTS, which are not recorded. This serves as equilibration in order to sample from an equilibrium distribution in the next step.

Sampling phase

Each chain performs 4000 steps, which are used to approximate the posterior distribution. To ensure that the chains are equilibrated and sampled from the whole posterior distribution (ergodicity), we verified that the R-hat statistic is below 1.05, which is implemented in PyMC3. The rank normalized R-hat diagnostic tests for lack of convergence by comparing the variances within chains and between chains: For identical within-chain and between-chain variances R-hat becomes 1, indicating convergence. For well-converged chains the resulting samples will describe the real-world data well, so that consistent forecasts are possible in the forecast phase.

Forecast using Monte Carlo samples

For the forecast, we take all samples from the MCMC step and continue time integration according to different forecast scenarios explained below. Note that the overall procedure yields an ensemble of forecasts — as opposed to a single forecast that would be solely based on one set of (previously optimized) parameters.

MCMC sampling details

Each MCMC step requires to propose a new set of parameters θ, to generate a (fully deterministic) time series of new infected cases C(θ)={Ct(θ)} of the same length as the observed real-world data C^={C^t}, and to accept or reject θ. In our case, the NUTS implementation (in PyMC3) first proposes a new set of parameters θ based on an advanced gradient-based algorithm and subsequently accepts or rejects it such that the resulting samples reflect the posterior distribution

p(θ|C^)p(C^|θ)p(θ),

where p(C^|θ) is the likelihood for the data given the parameters and p(θ) is the prior distribution of the parameters (see below). The likelihood quantifies the similarity between model outcome and the available real-world time series. Here, the likelihood is the product over local likelihoods

p(C^t|θ)StudentTν=4(mean=Ct(θ), width=σCt(θ)) .

quantifying the similarity between the model outcome for one time point t, Ct(θ), and the corresponding real-world data point C^t. We chose the Student’s t-distribution because it resembles a Gaussian distribution around the mean but features heavy tails, which make the MCMC more robust with respect to outliers (45), and thus reporting noise. The case-number-dependent width is motivated by observation noise through random subsampling (38), resulting in a variance proportional to the mean. Our likelihood neglects any noise in the dynamic process, as the SIR model is deterministic, but could be in principle extended to incorporate typical demographic noise from stochastic spreading dynamics (35, 46).

Priors that constrain model parameters

As short-term forecasts are time-critical at the onset of an epidemic, the available real-world data are typically not informative enough to identify all free parameters, or to empirically find their underlying distributions. We therefore chose informative priors on initial model parameters where possible and complemented them with uninformative priors otherwise. Our choices are summarized in Table 2 for the simple model, i.e., the SIR model with stationary spreading rate for the exponential onset phase, and in Table 3 for the full model with change points, and are discussed in the following.

Table 2. Priors on the model parameters for the SIR model with stationary spreading rate.

Parameter Variable Prior distribution
Spreading rate λ LogNormal(log(0.4),0.5)
Recovery rate μ LogNormal(log(1/8),0.2)
Reporting delay D LogNormal(log(8),0.2)
Initially infected I0 HalfCauchy(100)
Scale factor σ HalfCauchy(10)

Table 3. Priors on the model parameters for the SIR model with change points and weekly reporting modulation.

Parameter Variable Prior distribution
Change points t1 Normal(2020/03/09,3)
t2 Normal(2020/03/16,1)
t3 Normal(2020/03/23,1)
Change duration Δti LogNormal(log(3),0.3)
Spreading rates λ0 LogNormal(log(0.4),0.5)
λ1 LogNormal(log(0.2),0.5)
λ2 LogNormal(log(1/8),0.5)
λ3 LogNormal(log(1/16),0.5)
Recovery rate μ LogNormal(log(1/8),0.2)
Reporting delay D LogNormal(log(8),0.2)
Weekly modulation amplitude fw Beta(mean=0.7,std=0.17)
Weekly modulation phase Φw vonMises(mean=0,κ=0.01) (nearly flat)
Initially infected I0 HalfCauchy(100)
Scale factor σ HalfCauchy(10)

Priors for the simple model (Table 2)

In order to constrain our simple model, an SIR model with stationary spreading rate for the exponential onset phase, we chose the following informative priors. Because of the ambiguity between the spreading and recovery rate in the exponential onset phase (see description of simple model), we chose a narrow log-normal prior for the recovery rate μLogNormal(log(1/8),0.2) with median recovery time of 8 days (20). Note that our implementation of μ accounts for the recovery of infected people and isolation measures because it describes the duration during which a person can infect others. For the spreading rate, we assume a broad log-normal prior distribution λLogNormal(log(0.4),0.5) with median 0.4. This way, the prior for λμ has median 0.275 and the prior for the base reproduction number (R0=λ/μ) has median 3.2, consistent with the broad range of previous estimates (18, 33, 34). In addition, we chose a log-normal prior for the reporting delay DLogNormal(log(8),0.2) to incorporate both the incubation time between 1–14 days with median 5 (32) plus a delay from infected people waiting to contact the doctor and get tested.

The remaining model parameters are constrained by uninformative priors, in practice the Half-Cauchy distribution (47). The half-Cauchy distribution HalfCauchy(x,β)=2/πβ[1+(x/β)2] is essentially a flat prior from zero to O(β) with heavy tails beyond. Thereby, β merely sets the order of magnitude that should not be exceeded for a given parameter. We chose for the number of initially infected people in the model (16 days before first data point) I0HalfCauchy(100) assuming an order of magnitude O(100) and below. In addition, we chose the scale factor of the width of the likelihood function as σHalfCauchy(10); this choice means that the variance in reported numbers may be up to a factor of 100 larger than the actual reported number.

Priors for the full model (Table 3)

In order to constrain our full model, an SIR model with weekly reporting modulation and change points in the spreading rate, we chose the same priors as for the simple model but added the required priors associated with the change points. In general, we assume that each set of governmental interventions (together with the increasing awareness) leads to a reduction (and not an increase) of λ at a change point. As we cannot know yet the precise reduction factor, we adhere to assume a reduction by 50%, but always with a fairly wide uncertainty, so that in principle even an increase at the change point would be possible. We model the time dependence of λ as change points, and not as continuous changes because the policy changes were implemented in three discrete steps, which were presumably followed by the public in a timely fashion.

For the spreading rates, we chose log-normal distributed priors as in the simple model. In particular, we chose for the initial spreading rate the same prior as in the simple model, λ0LogNormal(log(0.4),0.5); after the first change point λ1LogNormal(log(0.2),0.5), assuming the first intervention to reduce the spreading rate by 50% from our initial estimates (λ00.4) with a broad prior distribution; after the second change point λ2LogNormal(log(1/8),0.5), assuming the second intervention to reduce the spreading rate to the level of the recovery rate, which would lead to a stationary number of new infections. This corresponds approximately to a reduction of λ at the change point by 50%; and after the third change point λ3LogNormal(log(1/16),0.5), assuming the third intervention to reduce the spreading rate again by 50%. With that intervention, λ3 is smaller than the recovery rate μ, causing a decrease in new case numbers and a saturation of the cumulative number of infections.

For the timing of change points, we chose normally distributed priors. In particular, we chose t1Normal(2020/03/09,3) for the first change point because on the weekend of March 8, large public events, like soccer matches or fairs, were cancelled. For the second change point, we chose t2Normal(2020/03/16,1), because on March 15, the closing of schools and other educational institutions along with the closing of non-essential stores were announced and implemented on the following day. Restaurants were allowed to stay open until 6 pm. For the third change point, we chose t3Normal(2020/03/23,1), because on March 23, a far-reaching contact ban (Kontaktsperre), which includes the prohibition of even small public gatherings as well as complete closing of restaurants and non-essential stores was imposed by the government authorities. Further policy changes may occur in future; however, for now, we do not include more change points.

The change points take effect over a certain time period Δti for which we choose ΔtiLogNormal(log(3),0.3) with a median of 3 days over which the spreading rate changes continuously as interventions have to become effective. The precise duration of the transition has hardly any affect on the cumulative number of cases (Fig. 2, E and F). We assumed a duration of three days, because some policies were not announced at the same day for all states within Germany; moreover, the smooth transition also can absorb continuous changes in behavior.

The number of tests that are performed and reported vary regularly over the course of a week and are especially low during weekends. To account for this periodic variation, we modulated the number of inferred cases by the absolute value of a sine function with in total a period of 7 days. We chose this function as it is a non-symmetric oscillation, fitting the weekly variation of cases on a phenomenological level. For the amplitude of the modulation we chose a weakly informative Beta prior: fwBeta(mean=0.7,std=0.17) and for the phase a nearly flat circular distribution: ΦwvonMises(mean=0,κ=0.01).

Model comparison

Since change point detection entails evaluating models with different numbers of parameters, some form of fair model comparison is needed. This is necessary to compensate for the higher flexibility of more complex models, as this flexibility carries the risk of overfitting and overconfident forecasts. The standard approach to avoid over-fitting in machine learning is cross-validation, and cross validation has recently also been advocated for Bayesian model comparison (e.g., (3, 36)), especially for models employed for predictions and forecasts. Thus, one would ideally like to compare the models with different numbers of change points by the probability they assign to previously unobserved data points. Technically this is measured by their out-of-sample prediction accuracy, i.e., their log pointwise predictive density (lppd):

lppd = i=1Nlog(p(yios|θ)ppost(θ)dθ) (6)

where the vector [y1os,,y1os] is a an out-of-sample dataset of N new data points, and where ppost(θ)=ppost(θ|y,Mj) is the posterior distribution of the parameters, given the in-sample data y and the model Mj. In practice, the integral is approximated using a sufficient amount of samples from ppost(θ). However, this approach is only reasonable if a sufficient amount of out-of-sample data are available, which is not the case in the early stages of a disease outbreak. Therefore, the pointwise out-of-sample prediction accuracy was approximated using Leave-one-out cross-validation (LOO) in PyMC3 to compute Eq. 6 individually for each left out data point based on the model fit to the other data points. The sum of these values, multiplied by a factor of 2 then yields the leave-one-out cross-validation (LOO-CV) score. Thus, lower LOO-CV scores imply better models.

Acknowledgments

We thank Tim Friede, Theo Geisel, Knut Heidemann, Moritz Linkmann, Matthias Loidolt, and Vladimir Zykov for carefully and promptly reviewing our work internally. We thank the Priesemann group - especially Daniel Gonzalez Marx, Fabian Mikulasch, Lucas Rudelt and Andreas Schneider - for exciting discussions and for their valuable comments. We thank the colleagues of the Göttingen Campus, with whom we were discussing the project and the COVID-19 case forecast in the past weeks very intensively: Heike Bickeböller, Eberhard Bodenschatz, Wolfgang Brück, Alexander Ecker, Andreas Leha, Ramin Golestanian, Helmut Grubmüller, Stephan Herminghaus, Reinhard Jahn, Norbert Lossau and Simone Scheithauer. We thank Nils Bertschinger for stimulating discussion on Bayesian modeling and model comparison. Funding: All authors received support from the Max-Planck-Society. JD and PS acknowledge funding by SMARTSTART, the joint training program in computational neuroscience by the VolkswagenStiftung and the Bernstein Network. JZ received financial support from the Joachim Herz Stiftung. MW is employed at the Campus Institute for Dynamics of Biological Networks funded by the VolkswagenStiftung. Author contributions: JD, JZ, MW, MW, VP designed research. JD, JZ, PS conducted research. JD, JZ, PS, JPN, MW, MW, VP analyzed the data. JD, PS, JPN created figures. All authors wrote the paper. Competing interests: VP is currently active in various groups to advise the government for which VP is not receiving payment. Data and materials availability: Both data (48) and analysis code (31) are available online. This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/. This license does not apply to figures/photos/artwork or other content included in the article that is credited to a third party; obtain authorization from the rights holder before using such material.

Supplementary Materials

science.sciencemag.org/cgi/content/full/science.abb9789/DC1

Tables S1 and S2

Figs. S1 to S7

MDAR Reproducibility Checklist

References and Notes

  • 1.Enserink M., Kupferschmidt K., With COVID-19, modeling takes on life and death importance. Science 367, 1414–1415 (2020). 10.1126/science.367.6485.1414-b [DOI] [PubMed] [Google Scholar]
  • 2.E. T. Jaynes, Probability Theory: The Logic of Science (Cambridge Univ. Press, 2003). [Google Scholar]
  • 3.A. Gelman, J. B. Carlin, H. S. Stern, D. B. Dunson, A. Vehtari, D. B. Rubin, Bayesian Data Analysis (CRC Press, ed. 3, 2013). [Google Scholar]
  • 4.Kermack W. O., McKendrick A. G., Walker G. T., A contribution to the mathematical theory of epidemics. Proc. R. Soc. Lond. A 115, 700–721 (1927). 10.1098/rspa.1927.0118 [DOI] [Google Scholar]
  • 5.Hethcote H., The mathematics of infectious diseases. SIAM Rev. 42, 599–653 (2000). 10.1137/S0036144500371907 [DOI] [Google Scholar]
  • 6.Anderson J., Lampl I., Reichova I., Carandini M., Ferster D., Stimulus dependence of two-state fluctuations of membrane potential in cat visual cortex. Nat. Neurosci. 3, 617–621 (2000). 10.1038/75797 [DOI] [PubMed] [Google Scholar]
  • 7.Grassly N. C., Fraser C., Mathematical models of infectious disease transmission. Nat. Rev. Microbiol. 6, 477–487 (2008). 10.1038/nrmicro1845 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Parshani R., Carmi S., Havlin S., Epidemic threshold for the susceptible-infectious-susceptible model on random networks. Phys. Rev. Lett. 104, 258701 (2010). 10.1103/PhysRevLett.104.258701 [DOI] [PubMed] [Google Scholar]
  • 9.Harko T., Lobo F. S. N., Mak M. K., Exact analytical solutions of the Susceptible-Infected-Recovered (SIR) epidemic model and of the SIR model with equal death and birth rates. Appl. Math. Comput. 236, 184–194 (2014). 10.1016/j.amc.2014.03.030 [DOI] [Google Scholar]
  • 10.Britton T., O’Neill P. D., Bayesian inference for stochastic epidemics in populations with random social structure. Scand. J. Stat. 29, 375–390 (2002). 10.1111/1467-9469.00296 [DOI] [Google Scholar]
  • 11.Lourenço J., Maia de Lima M., Faria N. R., Walker A., Kraemer M. U. G., Villabona-Arenas C. J., Lambert B., Marques de Cerqueira E., Pybus O. G., Alcantara L. C. J., Recker M., Epidemiological and ecological determinants of Zika virus transmission in an urban setting. eLife 6, e29820 (2017). 10.7554/eLife.29820 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Faria N. R., da Costa A. C., Lourenço J., Loureiro P., Lopes M. E., Ribeiro R., Alencar C. S., Kraemer M. U. G., Villabona-Arenas C. J., Wu C.-H., Thézé J., Khan K., Brent S. E., Romano C., Delwart E., Custer B., Busch M. P., Pybus O. G., Sabino E. C., NHLBI Recipient Epidemiology and Donor Evaluation Study-III (REDS-III), Genomic and epidemiological characterisation of a dengue virus outbreak among blood donors in Brazil. Sci. Rep. 7, 15216 (2017). 10.1038/s41598-017-15152-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 13.Shulgin B., Stone L., Agur Z., Pulse vaccination strategy in the SIR epidemic model. Bull. Math. Biol. 60, 1123–1148 (1998). 10.1016/S0092-8240(98)90005-2 [DOI] [PubMed] [Google Scholar]
  • 14.Bjørnstad O. N., Finkenstadt B. F., Grenfell B. T., Dynamics of measles epidemics: Estimating scaling of transmission rates using a time series SIR model. Ecol. Monogr. 72, 169–184 (2002). 10.1890/0012-9615(2002)072[0169:DOMEES]2.0.CO;2 [DOI] [Google Scholar]
  • 15.Hufnagel L., Brockmann D., Geisel T., Forecast and control of epidemics in a globalized world. Proc. Natl. Acad. Sci. U.S.A. 101, 15124–15129 (2004). 10.1073/pnas.0308344101 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Pandey A., Atkins K. E., Medlock J., Wenzel N., Townsend J. P., Childs J. E., Nyenswah T. G., Ndeffo-Mbah M. L., Galvani A. P., Strategies for containing Ebola in West Africa. Science 346, 991–995 (2014). 10.1126/science.1260612 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Li R., Pei S., Chen B., Song Y., Zhang T., Yang W., Shaman J., Substantial undocumented infection facilitates the rapid dissemination of novel coronavirus (SARS-CoV-2). Science 368, 489–493 (2020). 10.1126/science.abb3221 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18.Kucharski A. J., Russell T. W., Diamond C., Liu Y., Edmunds J., Funk S., Eggo R. M.; Centre for Mathematical Modelling of Infectious Diseases COVID-19 Working Group , Early dynamics of transmission and control of COVID-19: A mathematical modelling study. Lancet Infect. Dis. 20, 553–558 (2020). 10.1016/S1473-3099(20)30144-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.J. Lourenco, R. Paton, M. Ghafari, M. Kraemer, C. Thompson, P. Simmonds, P. Klenerman, S. Gupta, Fundamental principles of epidemic spread highlight the immediate need for large-scale serological surveys to assess the stage of the SARS-CoV-2 epidemic. medRxiv 2020.03.24.20042291 [Preprint]. 26 March 2020; . 10.1101/2020.03.24.20042291 [DOI]
  • 20.Maier B. F., Brockmann D., Effective containment explains subexponential growth in recent confirmed COVID-19 cases in China. Science eabb4557 (2020). 10.1126/science.abb4557 [DOI] [PMC free article] [PubMed]
  • 21.P. Bittihn, R. Golestanian, Containment strategy for an epidemic based on fluctuations in the SIR model. arXiv:2003.08784 [q-bio.PE] (19 March 2020).
  • 22.Anderson R. M., Heesterbeek H., Klinkenberg D., Hollingsworth T. D., How will country-based mitigation measures influence the course of the COVID-19 epidemic? Lancet 395, 931–934 (2020). 10.1016/S0140-6736(20)30567-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.J. R. Fauver, M. E. Petrone, E. B. Hodcroft, K. Shioda, H. Y. Ehrlich, A. G. Watts, C. B. F. Vogels, A. F. Brito, T. Alpert, A. Muyombwe, J. Razeq, R. Downing, N. R. Cheemarla, A. L. Wyllie, C. C. Kalinich, I. Ott, J. Quick, N. J. Loman, K. M. Neugebauer, A. L. Greninger, K. R. Jerome, P. Roychoundhury, H. Xie, L. Shrestha, M.-L. Huang, V. E. Pitzer, A. Iwasaki, S. B. Omer, K. Khan, I. Bogoch, R. A. Martinello, E. F. Foxman, M.-L. Landry, R. A. Neher, A. I. Ko, N. D. Grubaugh, Coast-to-coast spread of SARS-CoV-2 in the United States revealed by genomic epidemiology. medRxiv 2020.03.25.20043828 [Preprint]. 26 March 2020; . 10.1101/2020.03.25.20043828 [DOI]
  • 24.A. Arenas, W. Cota, J. Gomez-Gardenes, S. Gómez, C. Granell, J. T. Matamalas, D. Soriano-Panos, B. Steinegger, A mathematical model for the spatiotemporal epidemic spreading of COVID19. medRxiv 2020.03.21.20040022 [Preprint]. 23 March 2020; . 10.1101/2020.03.21.20040022 [DOI]
  • 25.Mitjà O., Arenas À., Rodó X., Tobias A., Brew J., Benlloch J. M., 62 signatories, Experts’ request to the Spanish Government: Move Spain towards complete lockdown. Lancet 395, 1193–1194 (2020). 10.1016/S0140-6736(20)30753-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.S. L. Chang, N. Harding, C. Zachreson, O. M. Cliff, M. Prokopenko, Modelling transmission and control of the COVID-19 pandemic in Australia. arXiv:2003.10218 [q-bio.PE] (23 March 2020). [DOI] [PMC free article] [PubMed]
  • 27.W. Bock, B. Adamik, M. Bawiec, V. Bezborodov, M. Bodych, J. P. Burgard, T. Goetz, T. Krueger, A. Migalska, B. Pabjan, T. Ozanski, E. Rafajlowicz, W. Rafajlowicz, E. Skubalska-Rafajlowicz, S. Ryfczynska, E. Szczurek, P. Szymanski, Mitigation and herd immunity strategy for COVID-19 is likely to fail. medRxiv 2020.03.25.20043109 [Preprint]. 5 May 2020; . 10.1101/2020.03.25.20043109 [DOI]
  • 28.C. Gros, R. Valenti, L. Schneider, K. Valenti, D. Gros, Containment efficiency and control strategies for the Corona pandemic costs. arXiv:2004.00493 [physics.soc-ph] (1 April 2020). [DOI] [PMC free article] [PubMed]
  • 29.V. Zlatić, I. Barjašić, A. Kadović, H. Štefančić, A. Gabrielli, Bi-stability of SUDR+K model of epidemics and test kits applied to COVID-19. arXiv:2003.08479 [q-bio.PE] (18 March 2020). [DOI] [PMC free article] [PubMed]
  • 30.J. Dehning, J. Zierenberg, F. P. Spitzner, M. Wibral, J. Pinheiro Neto, M. Wilczek, V. Priesemann, Inferring COVID-19 spreading rates and potential change points for case number forecasts. arXiv:2004.01105 [q-bio.PE] (2 April 2020).
  • 31.J. Dehning, F. P. Spitzner, J. Zierenberg, M. Wibral, J. Pinheiro Neto, M. Wilczek, V. Priesemann, Analysis code for: Inferring change points in the spread of COVID-19 reveals the effectiveness of interventions, Zenodo (2020); . 10.5281/zenodo.3823382 [DOI] [PMC free article] [PubMed]
  • 32.Lauer S. A., Grantz K. H., Bi Q., Jones F. K., Zheng Q., Meredith H. R., Azman A. S., Reich N. G., Lessler J., The incubation period of coronavirus disease 2019 (COVID-19) from publicly reported confirmed cases: Estimation and application. Ann. Intern. Med. 172, 577–582 (2020). 10.7326/M20-0504 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33.J. Zhang, M. Litvinova, Y. Liang, Y. Wang, W. Wang, S. Zhao, Q. Wu, S. Merler, C. Viboud, A. Vespignani, M. Ajelli, H. Yu, Age profile of susceptibility, mixing, and social distancing shape the dynamics of the novel coronavirus disease 2019 outbreak in China. medRxiv 2020.03.19.20039107 [Preprint]. 20 March 2020; . 10.1101/2020.03.19.20039107 [DOI]
  • 34.Liu Y., Gayle A. A., Wilder-Smith A., Rocklöv J., The reproductive number of COVID-19 is higher compared to SARS coronavirus. J. Travel Med. 27, taaa021 (2020). 10.1093/jtm/taaa021 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Muñoz M. A., Colloquium: Criticality and dynamical scaling in living systems. Rev. Mod. Phys. 90, 031001 (2018). 10.1103/RevModPhys.90.031001 [DOI] [Google Scholar]
  • 36.Vehtari A., Gelman A., Gabry J., Practical Bayesian model evaluation using leave-one-out cross-validation and WAIC. Stat. Comput. 27, 1413–1432 (2017). 10.1007/s11222-016-9696-4 [DOI] [Google Scholar]
  • 37.L. Peng, W. Yang, D. Zhang, C. Zhuge, L. Hong, Epidemic analysis of COVID-19 in China by dynamical modeling. arXiv:2002.06563 [q-bio.PE] (16 February 2020).
  • 38.Wilting J., Priesemann V., Inferring collective dynamical states from widely unobserved systems. Nat. Commun. 9, 2325 (2018). 10.1038/s41467-018-04725-4 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Y.-C. Chen, P.-E. Lu, C.-S. Chang, T.-H. Liu, A Time-dependent SIR model for COVID-19 with undetectable infected persons. arXiv:2003.00122 [q-bio.PE] (28 February 2020). [DOI] [PMC free article] [PubMed]
  • 40.Dong E., Du H., Gardner L., An interactive web-based dashboard to track COVID-19 in real time. Lancet Infect. Dis. 20, 533–534 (2020). 10.1016/S1473-3099(20)30120-1 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Chinazzi M., Davis J. T., Ajelli M., Gioannini C., Litvinova M., Merler S., Pastore A. Piontti Y., Mu K., Rossi L., Sun K., Viboud C., Xiong X., Yu H., Halloran M. E., Longini Jr. I. M., Vespignani A., The effect of travel restrictions on the spread of the 2019 novel coronavirus (COVID-19) outbreak. Science 368, 395–400 (2020). 10.1126/science.aba9757 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Salvatier J., Wiecki T. V., Fonnesbeck C., Probabilistic programming in Python using PyMC3. PeerJ Comput. Sci. 2, e55 (2016). 10.7717/peerj-cs.55 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Hoffman M. D., Gelman A., The No-U-turn sampler: Adaptively setting path lengths in Hamiltonian Monte Carlo. J. Mach. Learn. Res. 15, 1593–1623 (2014). [Google Scholar]
  • 44.Kucukelbir A., Tran D., Ranganath R., Gelman A., Blei D. M., Automatic differentiation variational inference. J. Mach. Learn. Res. 18, 1–45 (2017). [Google Scholar]
  • 45.Lange K. L., Little R. J. A., Taylor J. M. G., Robust statistical modeling using the t Distribution. J. Am. Stat. Assoc. 84, 881–896 (1989). 10.2307/2290063 [DOI] [Google Scholar]
  • 46.di Santo S., Villegas P., Burioni R., Muñoz M. A., Simple unified view of branching process statistics: Random walks in balanced logarithmic potentials. Phys. Rev. E 95, 032115 (2017). 10.1103/PhysRevE.95.032115 [DOI] [PubMed] [Google Scholar]
  • 47.Gelman A., Prior distributions for variance parameters in hierarchical models. Bayesian Anal. 1, 515–534 (2006). 10.1214/06-BA117A [DOI] [Google Scholar]
  • 48.Johns Hopkins University, COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) (2020); https://raw.githubusercontent.com/CSSEGISandData/COVID-19/bda67e3db0e8dca4540297633d431a8021c035c8/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv.

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

science.sciencemag.org/cgi/content/full/science.abb9789/DC1

Tables S1 and S2

Figs. S1 to S7

MDAR Reproducibility Checklist


Articles from Science (New York, N.y.) are provided here courtesy of American Association for the Advancement of Science

RESOURCES