hexp: A hierarchical model for seeded infections

Description Usage Arguments Value References

View source: R/additional_priors.R

Description

This distribution assigns seeded infections in each population an exponential prior. The aux parameter refers to the mean of this distribution. This mean parameter is common to seeded infections in each group, and is given a prior distribution. This approach of assigning priors to hyperparameters is referred to as hierarchical modeling. A call to this function can be passed as the prior_seeds argument in epiinf.

Usage

1
hexp(prior_aux = rstanarm::exponential(0.03))

Arguments

prior_aux

Specifies the prior distribution on the auxiliary parameter. This can be a call to normal, student_t or exponential.

Value

A named list to be parsed internally by epim.

References

\insertAllCited
epidemia documentation built on Oct. 25, 2021, 9:09 a.m.