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").

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

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

Penalized complexity prior with parameter \(\lambda\)

ngme_prior(type, param = NULL)

Arguments

type

type of prior, say ngme_prior_types()

param

parameters of the prior

Value

a list of prior specification