Skip to contents

Obtain the negative log-likelihood (NLL) value from the sbt model.

Usage

sbt_model_v1(parameters, data)

Arguments

parameters

A list of parameter values including transformed parameters (log-scale and logit-scale), recruitment deviations, and selectivity parameters.

data

A list of processed inputs from get_data_v1, containing model dimensions, biological data, catch observations, and survey indices.

Value

A numeric scalar representing the total negative log-likelihood (NLL) value, which is the sum of all likelihood components and priors.

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.