Formula: I_t = R_t sum_{s>=1} I_{t-s} w_s, where w is the generation interval distribution (normalised to sum to one) and Lambda_t = sum_s I_{t-s} w_s is the total infectiousness at time t. Forward projection feeds each simulated incidence back into Lambda for the following step. Read backwards the same identity gives the instantaneous reproduction number, Rhat_t = I_t / Lambda_t.
Examples
Ferror(incidence = c(1, 2, 3, 4, 5, 6, 7, 8), Rt = c(1, 2, 3, 4, 5, 6, 7, 8),
gen_int = c(1, 2, 3, 4, 5, 6, 7, 8))
#> $estimate
#> [1] 356.8365
#>
#> $forecast
#> [1] 3.333333 8.351852 14.918210 23.513546 35.519285 53.729180 83.366206
#> [8] 134.104911
#>
#> $lambda_
#> [1] 3.333333 4.175926 4.972737 5.878386 7.103857 8.954863 11.909458
#> [8] 16.763114
#>
#> $total
#> [1] 356.8365
#>
#> $Rt_implied
#> numeric(0)
#>
#> $horizon
#> [1] 8
#>
#> $n
#> [1] 8
#>
#> $method
#> [1] "Renewal-equation forecast"
#>
#> attr(,"class")
#> [1] "morie_rich_result" "list"
