simulate_hhh4u_seasonal: Simulate from seasonal underreported model

Description Usage Arguments Value

View source: R/seasonal.R

Description

Simulate from a seasonal endemic-epidemic model with underreporting. Includes a burn-in period to reach stationary phase.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
simulate_hhh4u_seasonal(
  alpha_nu,
  gamma_nu,
  delta_nu,
  alpha_phi,
  gamma_phi,
  delta_phi,
  kappa,
  psi,
  q = 1,
  L = 52,
  n_seas = 10,
  start = 10,
  burn_in = 10
)

Arguments

alpha_nu, gamma_nu, delta_nu, alpha_phi, gamma_phi, delta_phi, kappa, psi

the model parameters

q

the reporting probability

L

the length of one cycle (integer)

n_seas

the number of seasons to simulate (integer)

start

initial value of both $X$ and $lambda$ (at beginning of burn in period; can usually be ignored)

burn_in

number of seasons to discard to reach stationary phase

Value

A named list with elements "X" and "Y" containing the unthinned and thinned simulated time series.


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