Skip to main content
. 2013 Dec 20;8(12):e82317. doi: 10.1371/journal.pone.0082317

Table 5. Algorithm 3: Estimation of Inline graphic using an iterative estimation of the infection rate constant Inline graphic.

Input: parameters Inline graphic for model Inline graphic.
Output: an estimate of probabilities Inline graphic.
1: Inline graphic Initial value for Inline graphic
2: Inline graphic
3: while: Inline graphic do
4: Inline graphic
5: Inline graphic
where Inline graphic ▹Equation (21)
6: Inline graphic ▹Estimate of Inline graphic
7: Inline graphic ▹Estimates of Inline graphic where Inline graphic
8: Inline graphic ▹Normalisation of the estimated probabilities
9: Inline graphic
return: Inline graphic