undetected_prob: Probability case remains undetected over time

View source: R/simulated-data.R

undetected_probR Documentation

Probability case remains undetected over time

Description

This is effectively a survival function, which shows the probability that an actual case originating on day t_onset remains unreported at t_1.

Usage

undetected_prob(t_1, t_onset, reporting_parameters)

Arguments

t_1

observation time subsequent to time when case originates: t1>=t0

t_onset

time when case originates

reporting_parameters

named list of 'mean' and 'sd' of gamma distribution characterising the reporting delay distribution

Value

a probability

Examples

incidenceinflation:::undetected_prob(2, 1, list(mean=10, sd=5))

ben18785/incidenceinflation documentation built on Feb. 8, 2024, 2:36 a.m.