fit_quantile_baseline: Fit a quantile baseline model to historical disease incidence

View source: R/quantile_baseline.R

fit_quantile_baselineR Documentation

Fit a quantile baseline model to historical disease incidence

Description

Fit a quantile baseline model to historical disease incidence

Usage

fit_quantile_baseline(
  incidence,
  symmetrize = TRUE,
  window_size = length(incidence) - 1,
  ...
)

Arguments

incidence

numeric vector of disease incidence in past time points

symmetrize

logical. if TRUE (the default), we collect the first differences of incidence and their negatives; the resulting distribution on differences is symmetric. If FALSE, we use only the observed differences.

window_size

integer optional number of past time points to use for finding first differences. If not provided, all past first differences will be used.

...

other arguments are ignored

Value

quantile_baseline fit object


reichlab/simplets documentation built on Sept. 16, 2024, 10:24 p.m.