View source: R/gibbs-sampler.R
gibbs_theta | R Documentation |
allows two parameterizations of the stochastic SIR model
gibbs_theta(SS, iota_dist, par_prior, theta, param, Y)
SS |
sufficient statistics |
iota_dist |
c("exponential", "weibull"); distribution of the infection period |
par_prior |
named list; parameters of the prior distributions |
theta |
parameters of the SIR process |
param |
c("bg", "bR"); parameterize the models in terms of (beta, gamma) or (beta, R0) |
Y |
observed data |
new value for theta
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.