Skip to contents

Calculate Autocorrelation Coefficient (Version 1)

Usage

get_rho_v1(first_yr, last_yr, rdev)

Arguments

first_yr

An integer scalar, model start year.

last_yr

An integer scalar, model end year.

rdev

A numeric vector of length n_year, recruitment deviations.

Value

A numeric scalar, AR(1) autocorrelation coefficient 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.