View source: R/simulated-data.R
observed_cases_single | R Documentation |
The number of cases originating on day_onset which are subsequently reported between day_1 and day_2 is modelled as a binomial distribution:
cases_reported\sim binomial(cases_true-cases_observed, p_detect)
where cases_observed is the number of cases originating on day_onset reported on day_1; p_detect is the probability a case was undetected on day_1 but is detected by day_2.
observed_cases_single(
cases_observed,
cases_true,
day_2,
day_1,
day_onset,
reporting_parameters
)
cases_observed |
observed case count for cases originating on day_onset on day_1 |
cases_true |
true case count originating on day_onset |
day_2 |
day of last observation: day_2 > day_1 >= day_onset |
day_1 |
day of first observation: day_1 >= day_onset |
day_onset |
day when case originates |
reporting_parameters |
named list of 'mean' and 'sd' of gamma distribution characterising the reporting delay distribution |
a count representing number of cases reported between day_1 and day_2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.