Description Usage Arguments Details Value References
View source: R/additional_priors.R
A gamma prior distribution which can be shifted.
1 | shifted_gamma(shape = 1, scale = 1, shift = 0, autoscale = TRUE)
|
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 |
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.
A named list to be parsed internally by epim
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.