exponential_growth: Exponential Growth Model for Epidemic Data

View source: R/growthmodels.R

exponential_growthR Documentation

Exponential Growth Model for Epidemic Data

Description

Estimation of exponential growth models from new infections data

Usage

exponential_growth(
  y, 
  t = NULL, 
  GI = 4,
  nls = TRUE,
  nls_start = list(a = 1, b = 0.1),
  impute_missing_values = FALSE,
  add_constant = 1,
  verbose = FALSE
  )

Arguments

y

numeric vector with cumulative infections data over time

t

vector of class numeric or Date with time points or dates

GI

Generation interval for computing R_0

nls

Nonlinear estimation? TRUE or FALSE

nls_start

A list with start values for the two parameters to be estimated

impute_missing_values

bool argument which indicates whether missing values have to be imputed via linear imputation

add_constant

Numeric constant to be added to y if zero values occur (only relevant for OLS estimation)

verbose

bool argument which indicates whether progress messages are displayed

Details

This function allows the estimation of an exponential growth model. This model is designed for the analysis of the initial phase of an epidemic spread. The user must specify the dependent variable (e.g., daily infections) and the time variable (time counter or date values). The estimation is performed using a linearized model as an OLS estimator, and, if nls=TRUE, also by NLS. The results are the exponential growth rate r, basic reproduction number R_0, and the doubling rate. See Rawlings et al. (1998) for the basics of intrinsically linear models such as the logistic or exponential growth model. See Wieland (2020) for the documentation of the fitting procedure applied in this function.

Value

object of class expgrowth-class

Note

See the Exponential growth model page in the swash methodological handbook for details.

Author(s)

Thomas Wieland

References

Bonifazi G, Lista L, Menasce D, Mezzetto M, Pedrini D, Spighi R, Zoccoli A (2021) A simplified estimate of the effective reproduction number Rt using its relation with the doubling time and application to Italian COVID-19 data. The European Physical Journal Plus 136, 386. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1140/epjp/s13360-021-01339-6")}

Chowell G, Viboud C, Hyman JM, Simonsen L (2015) The Western Africa ebola virus disease epidemic exhibits both global exponential and local polynomial growth rates. PLOS Currents Outbreaks, ecurrents.outbreaks.8b55f4bad99ac5c5db3663e916803261. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1371/currents.outbreaks.8b55f4bad99ac5c5db3663e916803261")}

Pell B, Kuang Y, Viboud C, Chowell G (2018) Using phenomenological models for forecasting the 2015 ebola challenge. Epidemics 22, 62–70. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1016/j.epidem.2016.11.002")}

Rawlings JO, Pantula SG, Dickey DA (1998) Applied Regression Analysis: A Research Tool. Second Edition. New York: Springer. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1007/b98890")}

Wieland T (2020) A phenomenological approach to assessing the effectiveness of COVID-19 related nonpharmaceutical interventions in Germany. Safety Science 131, 104924. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.1016/j.ssci.2020.104924")}

See Also

growth_initial, logistic_growth

Examples

data(COVID19Cases_geoRegion)
# Get SWISS COVID19 cases at NUTS 3 level

COVID19Cases_ZH <-
  COVID19Cases_geoRegion[
  (COVID19Cases_geoRegion$geoRegion == "ZH")
  & (COVID19Cases_geoRegion$sumTotal > 0)
  ,]
# COVID cases for Zurich

expgrowth_ZH <- exponential_growth(
  y = COVID19Cases_ZH$entries[1:28], 
  t = COVID19Cases_ZH$datum[1:28] 
)
# Exponential growth model for the first 4 weeks

summary(expgrowth_ZH)
# Summary of exponential growth model

plot(expgrowth_ZH)
# Plot of exponential growth model

expgrowth_ZH@GrowthModel_OLS$fit_metrics
expgrowth_ZH@GrowthModel_OLS$fit_metrics
# Fit metrics for OLS and NLS models

swash documentation built on Nov. 28, 2026, 5:14 p.m.