Prior specification for internal representation of the parameters. We will list all the available priors here. Their PDFs can be found in vignette("ngme2-prior").

none prior with no parameter: \(p(\theta) \propto 1\)

Normal prior with parameter mean \(\mu\) and precision \(\tau\): \(\theta \sim N(\mu, 1/ \tau)\)

Half-Cauchy prior with parameter scale \(\tau\): \(\theta \sim HC(0, \tau)\)

Penalized complexity prior with parameter \(\lambda\)

ngme_prior(type, param = double(0))

Arguments

type

type of prior, say ngme_prior_types()

param

parameters of the prior

Value

a list of prior specification