Description Usage Arguments Value Examples
Simulate from a time-homogeneous endemic-epidemic model with underreporting. Includes a burn-in period to reach stationary phase.
1 2 3 4 5 6 7 8 9 10 | simulate_hhh4u_homog(
nu,
phi,
kappa,
psi,
q = 1,
lgt = 100,
start = 10,
burn_in = 1000
)
|
nu, phi, kappa, psi |
the model parameters (scalars) |
q |
the reporting probability |
lgt |
the length of the generated time series (integer) |
start |
initial value of both $X$ and $lambda$ (at beginning of burn in period) |
burn_in |
number of iterations to discard to reach stationary phase |
A named list with elements "X"
, "X_tilde"
and "lambda"
containing
the unthinned and thinned simulated time series as well as the conditional mean process.
1 | sim <- simulate_hhh4u(nu = 3, phi = 0.4, kappa = 0.2, psi = 0.1, q = 0.5, lgt = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.