Skip to contents

Calculates separable year-by-age AR(1) priors for selectivity surfaces.

Usage

get_selectivity_prior(rho_y, rho_a, log_sigma, par_log_sel_fya)

Arguments

rho_y

A numeric vector of temporal autocorrelation parameters (year dimension) for each fishery.

rho_a

A numeric vector of autocorrelation parameters (age dimension) for each fishery.

log_sigma

A numeric vector of log-scale parameters for the prior standard deviation for each fishery.

par_log_sel_fya

A list of matrices containing log-selectivity parameters by fishery, with dimensions (year, age).

Value

A numeric vector of seven negative log-prior contributions.

Details

The implementation is specialized to the seven assessment selectivity series: six fisheries plus the dedicated CPUE series.