shifted_gamma: A shifted gamma prior

Description Usage Arguments Details Value References

View source: R/additional_priors.R

Description

A gamma prior distribution which can be shifted.

Usage

1
shifted_gamma(shape = 1, scale = 1, shift = 0, autoscale = TRUE)

Arguments

shape, scale

Sets the shape and scale parameters of the Gamma prior.

shift

The Gamma prior can be shifted to allow for positive support.

autoscale

Same as in priors.

Details

rstanarm provides a set of distributions (see priors) which can be used for the priors on regression parameters. Intuitively, non-pharmaceutical interventions are unlikely to a-priori cause a large increase in the reproduction number. A shifted gamma prior can be used to model this idea, and has been used in \insertCiteFlaxman2020;textualepidemia. shifted_gamma can be used as the prior argument to epim. This specified a shifted gamma prior on the negative of the regression parameters. i.e. if there is no shift, the support is on the negative half of the real line.

Value

A named list to be parsed internally by epim.

References

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