R/prior.R
prior_normal.Rd
Independent normal prior
prior_normal(mean, sd = 1)
Numeric vector of means (one per parameter). Naming the vector (e.g. c(beta = 0, gamma = 0)) attaches those names to every downstream parameter matrix, posterior sample, and diagnostic plot.
c(beta = 0, gamma = 0)
Numeric scalar or vector of standard deviations.
An nsbi_prior object.
nsbi_prior
prior <- prior_normal(mean = c(0, 0), sd = 1)