fit_hhh4u_homog: Fitting time-homogeneous underreported endemic-epidemic model...

Description Usage Arguments Value

View source: R/homogeneous.R

Description

Fits a time-homogeneous endemic-epidemic model with underreporting using an approximative maximum likelihood scheme. The likelihood approximation is based on an approximation of the process by a second-order equivalent process with complete reporting. The reporting probability cannot be estimated from the data (in most cases these contain no information on it) and thus needs to be specified in advance.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
fit_hhh4u_homog(
  observed,
  q,
  include_kappa = TRUE,
  initial = c(log_nu = 2, log_phi = -1, log_kappa = -2, log_psi = -3),
  max_lag = 5,
  iter_optim = 3,
  hessian = TRUE,
  ...
)

Arguments

observed

a time series of counts (numeric vector)

q

the assumed reporting probability

initial

the initial value of the parameter vector passed to optim (note: the function re-runs optimization several times)

max_lag

in evaluation of (conditional) likelihood only lags up to max_lag are taken into account

Value

a named list containing the following elements:


jbracher/hhh4underreporting documentation built on July 21, 2020, 2:08 p.m.