Retrieve default prior specifications for model parameters.
Usage
get_priors(
parameters,
growth_shape_lower = 1,
growth_shape_upper = 8,
growth_shape_prior_mean = 2,
log_q_prior_mean = -5,
log_q_prior_sd = 2
)Arguments
- parameters
A
listspecifying the AD object created usingMakeADFun.- growth_shape_lower
Lower bound used to transform the generalized growth-shape parameter.
- growth_shape_upper
Upper bound used to transform the generalized growth-shape parameter.
- growth_shape_prior_mean
Prior median for generalized growth shape on its natural scale.
- log_q_prior_mean
Prior mean for
log_q, on the log scale. Either one value applied to every series, or one value per series in the order ofparameters$log_q. Catchability scale depends on the units of each CPUE series (and on any power parameter), so a caller with series on very different scales should supply the per-series form.- log_q_prior_sd
Prior SD for
log_q, on the log scale. Same length rules aslog_q_prior_mean.
