get_expected_total_infections {smidm} | R Documentation |
Expected number of total symptomatic infections
Description
Calculates the expected total number of symptomatic infections after a group event, based on the observed infections so far.
Usage
get_expected_total_infections(
group_size,
last_day_reported_infection,
total_reported_infections,
meanlog = 1.69,
sdlog = 0.55
)
Arguments
group_size |
integer, size of the group. |
last_day_reported_infection |
Number of days the last infection was reported after the event (0 = event day). |
total_reported_infections |
Number of reported symptomatic infections so far. |
meanlog |
Number, the parameter of mean from the log-normal distribution. |
sdlog |
Number, the parameter of sd from the log-normal distribution. |
Details
meanlog and sdlog are the log-normal distribution parameters derived from the incubation period characteristics described in Xin et al. (2021). Note that the function often clearly overestimates the number of symptomatic infections if last_day_reported_infections is less than 3.
Value
The total number of expected symptomatic infections.
Examples
get_expected_total_infections(25, 5, 4)
[Package smidm version 1.0 Index]