Skip to contents

Calculate Recruitment Prior (Version 1)

Usage

get_recruitment_prior_v1(rdev_y, sigma_r, tau_ac2)

Arguments

rdev_y

A numeric vector of length n_year, recruitment deviations.

sigma_r

A numeric scalar, recruitment standard deviation.

tau_ac2

A numeric scalar, autocorrelation coefficient (squared).

Value

A numeric scalar, negative log-prior for recruitment deviations.

Legacy status

These functions reproduce historical version-1 assessment code for audit and comparison. They are not the production SBT objective, do not implement the current data, mortality, harvest-wall, or biological-state contracts, and receive only compatibility maintenance. New analyses should use get_data(), sbt_model(), and the current component helpers.