View source: R/SISpanelExperiment.R
Same SIS epidemic which occurs in population size N, (set.seed(1))
1 2 3 4 5 6 7 8 9 10 11 | SISfsMCMCexperiment(
noPanels,
lastObs,
noDraws,
lambda0,
V0,
blockSize,
adapt = TRUE,
noIts = 10000,
burnIn = 1000
)
|
We observe the same m = 0.1*N individuals, but vary how often they are observed.
In this simulated situation, the average infectious period is a unit length of time (\gamma = 1).
R_0 is chosen to be above 1 and relitively small, but large enough that the disease will reach an endemic state.
\betais then calculated from \gamma, R_0 and N
Sample Panel Data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.