View source: R/simulated-data.R
detected_after_unobserved_prob | R Documentation |
This is the probability that a case originating on day day_onset is detected between days day_1 and day_2 given that it was unobserved on day day_1. This probability is calculated using the survival functions (which indicate the probability a case remains undetected by a certain time):
prob(detect) = \frac{S(day_1|day_onset) - S(day_2|day_onset)}{S(day_1|day_onset)}
detected_after_unobserved_prob(day_2, day_1, day_onset, reporting_parameters)
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 probability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.