priors {ubms} | R Documentation |
Prior distributions
Description
Specify prior distributions and associated parameters for use in
ubms
models.
Usage
normal(location = 0, scale = 2.5, autoscale = TRUE)
uniform(lower = -5, upper = 5)
student_t(df = 1, location = 0, scale = 2.5, autoscale = TRUE)
logistic(location = 0, scale = 1)
cauchy(location = 0, scale = 2.5, autoscale = TRUE)
gamma(shape = 1, rate = 1)
laplace(location = 0, scale = 2.5, autoscale = TRUE)
Arguments
location |
The mean of the distribution. If setting the priors for regression coefficients, this can be a single value, or multiple values, one per coefficient |
scale |
The standard deviation of the distribution. If setting the priors for regression coefficients, this can be a single value, or multiple values, one per coefficient |
autoscale |
If |
lower |
The lower bound for the uniform distribution |
upper |
The upper bound for the uniform distribution |
df |
The number of degrees of freedom for the Student-t distribution |
shape |
The gamma distribution shape parameter |
rate |
The gamma distribution rate parameter (1/scale) |
Value
A list
containing prior settings used internally by ubms
.
Examples
normal()