| generalized_growth | R Documentation |
Estimation of generalized growth models from new infections data
generalized_growth(
y,
t = NULL,
nls = TRUE,
nls_start = list(a = 1, b = 1),
impute_missing_values = FALSE,
add_constant = 1,
verbose = FALSE
)
y |
|
t |
|
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 a generalized growth model (Viboud et al. 2016).
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 (Rawlings et al. 1998), and, if nls=TRUE, also by NLS.
The results are the growth rate r and the growth deceleration rate p.
object of class gengrowth-class
Thomas Wieland
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")}
Liyanage YR, Chowell G, Pogudin G, Tuncer N (2025) Structural and Practical Identifiability of Phenomenological Growth Models for Epidemic Forecasting. Viruses 17(4), 496. \Sexpr[results=rd]{tools:::Rd_expr_doi("https://doi.org/10.3390/v17040496")}
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")}
Viboud C, Simonsen L, Chowell G (2016) A generalized-growth model to characterize the early ascending phase of infectious disease outbreaks. Epidemics 16, 25-35. \Sexpr[results=rd]{tools:::Rd_expr_doi("http://dx.doi.org/10.1016/j.epidem.2016.01.002")}
growth_initial_generalized, logistic_growth, exponential_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
gengrowth_ZH <- generalized_growth (
y = COVID19Cases_ZH$entries[1:28],
t = COVID19Cases_ZH$datum[1:28]
)
# Generalized growth model for the first 4 weeks
summary(gengrowth_ZH)
# Summary of generalized growth model
plot(gengrowth_ZH)
# Plot of generalized growth model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.