probability_isolation: Probability of serial interval

Description Usage Arguments Value Author(s)

View source: R/likelihood.R

Description

Probability of serial interval

Usage

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

Arguments

t

observed serial interval

nu

onset to isolation of primary case

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 given the delay from onset to isolation, the parameters of infectious period distributions and incubation period distributions.

Author(s)

Sangeeta Bhatia


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