Description Usage Arguments Value Examples
Simulate from a time-homogeneous endemic-epidemic model with underreporting.
Can also be used through the wrapper simulate_hhh4u.
| 1 2 3 4 5 6 7 8 9 10 11 12 | 
| lambda1 | the initial value of lambda | 
| nu, phi, kappa, psi | the model parameters (vectors of equal length corresponding to the length of the time series; scalars are recycled). | 
| q | the reporting probability; either a scalar or a vector of length lgt | 
| lgt | = leng | 
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(lambda1 = 1, nu = c(1:5, 4:1), phi = 0.4, kappa = 0.2, psi = 0.1, q = 0.5)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.