Select a likelihood function for severity estimation
Source:R/estimate_severity.R
dot-select_func_likelihood.Rd
Switches between Binomial, Poisson, and Normal approximation based on the total number of cases and an initial estimate of the severity.
Arguments
- total_cases
A single count for the total number of cases in the outbreak.
- poisson_threshold
A single count for the threshold of cases above which a Poisson or Normal approximation is returned.
- p_mid
A single positive number bounded 0 – 1, representing an initial estimate of the severity, which is used to determine whether a Poisson or Normal approximation is returned. determine whether