Learn R Programming

artemis (version 1.1.1)

normal: Prior distributions

Description

Normal prior distribution

Usage

normal(location = 0, scale = 1, autoscale = TRUE)

exponential(rate = 1, autoscale = FALSE)

Arguments

location

numeric, the mean of the distribution

scale

numeric, the sd/scale of the distribution

autoscale

logical, whether the priors should be scaled. See ?rstanarm::priors for details on the scaling.

rate

numeric, the rate of the exponential distribution

Value

named list

Details

Parameters for the normal distribution, to be used for setting priors on model estimates.

These are styled after the distributions in rstanarm.