Calculates the percentage probability that one or more persons in a group, with size G, may be infectious given the underlying prevalence of disease.
estRisk(pcActiveCases, A, G, rounding = 0)
Per capita active cases.
Ascertainment bias (ratio of infections to cases)
Event size for risk to be calculated for.
Number of decimal places to round to. Default of 0.
Returns the risk that one or more people at an event size G may be infectious given case prevalence and ascertainment bias parameters.
# estimated risk that one or more are infectious in a group of 100,
# when there are 50 active cases in population of 10,000 and cases
# are underascertained by a factor of 4.
estRisk(50 / 10000, 4, 100)
#> [1] 87