probability_isolation_offset: Probability of serial interval when primary case has been...

Description Usage Arguments Value Author(s)

View source: R/likelihood.R

Description

Probability of serial interval when primary case has been isolated and in the presence of asymptomatic infectiousness

Usage

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

Arguments

t

observed serial interval

nu

onset to isolation of primary case

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 distributions

Author(s)

Sangeeta Bhatia


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