Skip to contents

Calculate the CPUE log-likelihood contribution for a fitted model.

Usage

get_cpue_likelihood(parameters, data, numbers_cpue_ytrsl, selectivity_ytrsfl)

Arguments

parameters

A list containing the model parameters.

data

A list containing the model data.

numbers_cpue_ytrsl

An array of the numbers by year, season, region, sex, and length bin.

selectivity_ytrsfl

An array of the selectivity by year, season, region, sex, fishery, and length bin.

Value

A list.