probability_offset: Probability of serial interval with asymptomatic...

Description Usage Arguments Value Author(s)

View source: R/likelihood.R

Description

Probability of serial interval with asymptomatic infectiousness

Usage

1
2
3
4
5
6
7
8
probability_offset(
  t,
  offset,
  inf_distr = "dgamma",
  inc_distr = "dgamma",
  inf_params,
  inc_params
)

Arguments

t

observed serial interval

offset

days of asymptomatic infectiousness

inf_distr

quoted name of the infectious period density function. Defaults to dgamma

inc_distr

quoted name of the incubation period density function. Defaults to dgamma

inf_params

named list of arguments for infectious period distribution.

inc_params

named list of arguments for incubation period distribution.

Value

numeric probability of observing the given serial interval with the given parameters of infectious period and incubation period distribution

Author(s)

Sangeeta Bhatia


mrc-ide/hermione documentation built on Aug. 15, 2020, 9:16 a.m.