
Evaluate priors
evaluate_priors.RdEvaluate priors
Arguments
- parameters
A
listspecifying the parameters to be passed toMakeADFun. Can be generated using theget_parameters()function.- priors
A
listof namedlists specifying priors for the parameters. Can be generated using theget_priors()function.
Details
Supported distributions are normal, student (three degrees of
freedom), lognormal, and beta (mean and precision). Priors act on the
stored parameter scale; for example, a normal prior on log_B0 is a normal
density on log spawning output. Locations and scales must be scalars or
match the parameter block length. Indices identify blocks in parameters.