Calculate Gene Tagging (GT) Likelihood (Version 1)
Arguments
- gt_switch
An
integerscalar, switch to turn on (>0) or off (0) the GT likelihood.- gt_obs
A
numericmatrix with columns: release year, release age, (other columns), number released, number scanned, number recaptured.- number_ysa
A
numericarray of dimensions \[n_year + 1, n_season, n_age\], numbers-at-age.
Value
A numeric vector of negative log-likelihood values for each
GT observation (or zeros if switch is off).
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.
