Description Usage Arguments Value
Simulate from a seasonal endemic-epidemic model with underreporting. Includes a burn-in period to reach stationary phase.
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
)
|
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 |
A named list with elements "X"
and "Y"
containing the unthinned and thinned simulated time series.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.