View source: R/Psuedo_Marginal_MCMC.R
Takes multiple discrete observations of an epidemic and the complete observation and evaluates the pdf of observing the partial information given the complete information. function to simulate an epidemic with parameters theta and calculate pi(y|x)
1 | pi_Y_given_X(N, Y, obs_times, initial_infective, beta, gamma)
|
N, |
size of complete population |
Y, |
observed subset of the complete epidemic data |
k, |
noumber of observations of epidemic |
T_obs, |
amount of time epidemic is observed for. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.