Skip to main content
. 2020 Jan 8;5:189–196. doi: 10.1016/j.idm.2020.01.002

Table 1.

Algorithm for obtaining estimates.

Step Input Method Output
1. vector c: c1, c2, … cn (number of cases) cumulative sum vector G: number of cumulative cases G1, G2, … Gn
2. vectors c, G MCMC simulation posterior distribution of r and K and forecasting values cn+1, cn+2, …
3. posterior distribution of parameters r, K summary functions Estimates of mean, median and intervals of credibility
4. r Equation (7) Estimate of R0
5. r, K, cn, Gn Equation (6) Estimate tc