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.