Closed
Description
replace
tutorials-early/episodes/read-delays.Rmd
Lines 814 to 822 in 8dcbabf
from
# update: EpiNow2 1.4.9 ---------------------------------------------------
si_x <- seq(1L, to = covid_serialint_discrete_max, by = 1L)
serial_interval_covid_update <-
EpiNow2::dist_spec(pmf = covid_serialint_discrete$prob_dist$d(si_x))
serial_interval_covid_update
#> - nonparametric distribution
#> PMF: [0.0073 0.1 0.2 0.19 0.15 0.11 0.075 0.051 0.034 0.023 0.016 0.011 0.0076 0.0053 0.0037 0.0027 0.0019 0.0014 0.001 0.00074 0.00055 0.00041 0.00031]
key learning goals
a simple way to plug in epiparameter is using thepmf
we can also use functions likeLogNormal()
orGamma()
but these require more (unnecessary) parameterswe needmax
parameter to plug inLogNormal()
output toepinow()
themax
parameter can come from a discretized continuous function as anepidist
object
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done