Calculate POP Likelihood (Version 2)
Arguments
- pop_switch
An
integerscalar, switch to turn on (>0) or off (0) the POP likelihood.- pop_obs
A
numericmatrix with columns including cohort, year, age/length, type flag, number of POPs, number of comparisons.- phi_ya
A
numericmatrix of dimensions \[n_year + 1, n_age\], reproductive output-at-age.- paly
A
numericarray, probability-at-length-year-age.- spawning_biomass_y
A
numericvector of length n_year + 1, spawning biomass by year.
