This function returns a keyed list of priors related to probability of
diagnosis. Called with no arguments, the default values are returned. Custom
hyperpriors can be specified by passing values for the parameters specified
below. The return value of this function must be added to a
covidestim
object using the addition operator (see examples).
A two-element numeric vector containing
c(alpha, beta)
parameters/hyperpriors of a Beta distribution
modeling the rate ratio of diagnosis among asymptomatic versus symptomatic,
but non-"severe" infections.
Lowering the mean of this prior would reflect a belief that even fewer asymptomatic indivivduals are diagnosed than currently assumed.
A two-element numeric vector containing
c(alpha, beta)
parameters/hyperpriors of a Beta distribution
modeling the rate ratio of diagnosis at the symptomatic vs severe stage of
infection.
A two-element numeric vector containing c(alpha,
beta)
parameters/hyperpriors of a Beta distribution modeling the
probability of being diagnosed if severely ill.
An S3 object of class 'priors'
Boundary avoiding priors are used by default; a weakly informative prior is used for the probability of diagnosis if severely ill.
cfg <- covidestim(ndays = 50, region = 'New York') + priors_diagnosis(p_diag_if_sev = c(2, 2))
#> Error in covidestim(ndays = 50, region = "New York"): unused argument (ndays = 50)