growth_initial_generalized: Generalized Growth Models for Regional Infections

growth_initial_generalizedR Documentation

Generalized Growth Models for Regional Infections

Description

Estimates N generalized growth models for a given time period in N regions.

Usage

growth_initial_generalized(
  object, 
  time_units = 10,
  nls = TRUE,
  nls_start = list(a = 1, b = 1),
  add_constant = 1,
  verbose = FALSE
  )

Arguments

object

object of class infpan

time_units

numeric value for the analysis time (time units from start)

nls

Nonlinear estimation? TRUE or FALSE

nls_start

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

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

The method estimates generalized growth models (Viboud et al. 2016) for regional infections based on an infpan object. This model is designed for the analysis of the initial phase of an epidemic spread. The user must state how many time units (from start) are included. See generalized_growth for further details of the estimation.

Value

object of class growthmodels-class

Author(s)

Thomas Wieland

References

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")}

Examples

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

COVID19Cases_geoRegion <- 
  COVID19Cases_geoRegion[!COVID19Cases_geoRegion$geoRegion %in% c("CH", "CHFL"),]
# Exclude CH = Switzerland total and CHFL = Switzerland and Liechtenstein total

COVID19Cases_geoRegion <- 
  COVID19Cases_geoRegion[COVID19Cases_geoRegion$datum <= "2020-05-31",]
# Extract first COVID-19 wave

infpan_CH <- load_infections_paneldata(
    data = COVID19Cases_geoRegion,
    col_cases = "entries",
    col_date = "datum",
    col_region = "geoRegion",
    other_cols = c("Population" = "pop"), 
    verbose = TRUE
  )
# Import as infections panel data set (class infpan)

CH_covidwave1_initialgrowth_generalized_3weeks <- 
  growth_initial_generalized(
    infpan_CH,
    time_units = 21
  )
CH_covidwave1_initialgrowth_generalized_3weeks
summary(CH_covidwave1_initialgrowth_generalized_3weeks)
# Generalized growth models for infpan object CH_covidwave1 
# initial growth in the first 3 weeks

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