Description Usage Arguments Value Examples
Simulate from an endemic-epidemic model with a covariate entering into the endemic component. Requires specification of the initial value for $lambda$.
1 | simulate_hhh4u_covariate(lambda1, alpha_nu, beta_nu, phi, kappa, psi, q = 1, z)
|
lambda1 |
the initial mean |
alpha_nu, beta_nu, phi, kappa, psi |
the parameters of the latent model |
q |
the reporting probability |
z |
a covariate entering into the endemic parameter $nu$ |
A named list with elements "X"
and "Y"
containing the unthinned and thinned simulated time series.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.