| exponential_growth | R Documentation |
Estimation of exponential growth models from new infections data
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
)
y |
|
t |
|
GI |
Generation interval for computing |
nls |
Nonlinear estimation? |
nls_start |
A |
impute_missing_values |
|
add_constant |
Numeric constant to be added to y if zero values occur (only relevant for OLS estimation) |
verbose |
|
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.
object of class expgrowth-class
See the Exponential growth model page in the
swash methodological handbook for details.
Thomas Wieland
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")}
growth_initial, logistic_growth
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.