Assessment data and parameter descriptions
Users need to population a named list containing data inputs and a named list specifying starting values for estimable parameters which are both passed to TMB’s MakeADFun function. This section outlines the elements and corresponding dimensions of both data and parameters.
data
agesvector of ages. Lengthn_agesyearsvector of years from start year to current year. lengthn_yearslength_binsvector of length bin midpoints. length.n_length_binsn_projections_yearsinteger of future years to project the modeln_projyears = n_years + n_projections_yearsdo_projectionNot implementedn_init_rec_devsnumber of initial n_age_deviations (parameter$ln_init_rec_dev) to multiply against the initial numbers at age to have non equilibrium initial age-structure. A value of zero will not apply these initial devs and expectsparameter$ln_init_rec_devto have length 1. These deviations are applied equally to both male and female.maturityproportion mature array with dimensionsn_ages\(\times\)n_projyearsmale_mean_weight_by_agemale mean weight at age array with dimensionsn_ages\(\times\)n_projyears. Units are in kgs, this is because we track millions of fish in the partition, so any weight calculation is in kilo tonnesfemale_mean_weight_by_agefemale mean weight at age array with dimensionsn_ages\(\times\)n_projyears. Units are in kgs, this is because we track millions of fish in the partition, so any weight calculation is in kilo tonnesM_method0 = age & time In-variant, 1 = time-varying, 2 = age-varying,male_age_length_transitionmale age-length transtion matrix for each year. An array with dimensionsn_ages\(\times\)n_length_bins\(\times\)n_projyearsfemale_age_length_transitionfemale age-length transtion matrix for each year. An array with dimensionsn_ages\(\times\)n_length_bins\(\times\)n_projyearsSrTypeNot implementedhistorical_jap_fishery_ll_age_length_transitionage-length transition for both male and female for early japanese LFs. An array with dimensionsn_ages\(\times\)n_length_bins\(\times\)n_projyearsproportion_maleproportion of males in domestic long-line survey. A value for each year.sigma_Rrecruitment standard deviationSrTypeNot implementedspawning_time_proportionvector of proportions that indicate when during the year spawning occurs. Length =n_projyearscatch_likelihood0 is the ADMB formulation, 1 == normal with catch_sdcatch_sdcatch standard deviationprop_F_histproportion of fixed gear F to apply during initialisationll_fishery_catchvector of annual catch for the fixed gear fishery. Units are kilo tonnestrwl_fishery_catchvector of annual catch for the Trawl gear fishery. Units are kilo tonnesloglik_wgt_ll_catchLog-likelihood multiplierloglik_wgt_trwl_catchLog-likelihood multiplierloglik_wgt_FsLog-likelihood multiplierll_sel_typevector of integers (one for each time-block) defining the longline fishery selectivity type for each row of ln_ll_sel_m_pars and ln_ll_sel_f_parsll_sel_by_year_indicatorvector of integers (one for each model year) defining the longline fishery selectivity time-block. First ndx needs to be 0trwl_sel_typevector of integers (one for each time-block) defining the trawl fishery selectivity type for each row of ln_ll_sel_m_pars and ln_ll_sel_f_parstrwl_sel_by_year_indicatorvector of integers (one for each model year) defining the trawl fishery selectivity time-block. First ndx needs to be 0srv_dom_ll_sel_typevector of integers (one for each time-block) defining the domestic longline survey selectivity type for each row of ln_ll_sel_m_pars and ln_ll_sel_f_parssrv_dom_ll_sel_by_year_indicatorvector of integers (one for each model year) defining the domestic longline survey selectivity time-block. First ndx needs to be 0srv_dom_ll_q_by_year_indicatorvector of integers (one for each model year) defining the domestic longline survey catchability time-block. First ndx needs to be 0srv_jap_ll_sel_typevector of integers (one for each time-block) defining the domestic Japanese survey selectivity type for each row of ln_ll_sel_m_pars and ln_ll_sel_f_parssrv_jap_ll_sel_by_year_indicatorvector of integers (one for each model year) defining the Japanese longline survey selectivity time-block. First ndx needs to be 0srv_jap_ll_q_by_year_indicatorvector of integers (one for each model year) defining the Japanese longline survey catchability time-block. First ndx needs to be 0srv_nmfs_trwl_sel_typevector of integers (one for each time-block) defining the NMFS trawl survey selectivity type for each row of ln_ll_sel_m_pars and ln_ll_sel_f_parssrv_nmfs_trwl_sel_by_year_indicatorvector of integers (one for each model year) defining the NMFS trawl survey selectivity time-block. First ndx needs to be 0srv_nmfs_trwl_q_by_year_indicatorvector of integers (one for each model year) defining the NMFS trawl survey catchability time-block. First ndx needs to be 0srv_jap_fishery_ll_sel_typevector of integers (one for each time-block) defining the early japanese fishery selectivity type for each row of ln_ll_sel_m_pars and ln_ll_sel_f_parssrv_jap_fishery_ll_sel_by_year_indicatorvector of integers (one for each model year) defining the early japanese fishery selectivity time-block. First ndx needs to be 0srv_jap_fishery_ll_q_by_year_indicatorvector of integers (one for each model year) defining the early japanese fishery catchability time-block. First ndx needs to be 0ll_cpue_q_by_year_indicatorvector of integers (one for each model year) defining the longline fishery catchability time-block. First ndx needs to be 0ageing_error_matrixageing error classifications \(n_{ages} \times n_{ages}\)ll_catchatage_indicatorlength(ll_catchatage_indicator) = n_years. 1 = calculate catch at age in this year, 0 = don’t calculate catch at ageobs_ll_catchatageLongline fishery composition observations dim = n_ages x ll_catchatage_compll_catchatage_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.ll_catchatage_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_ll_catchatagescalar log-likelihood multiplierll_catchatlgth_indicatorlength(ll_catchatlgth_indicator) = n_years. 1 = calculate catch at length in this year, 0 = don’t calculate catch at ageobs_ll_catchatlgth_mLongline fishery length composition observations dim = n_lengths x length(ll_catchatlgth_indicator)obs_ll_catchatlgth_fLongline fishery length composition observations dim = n_lengths x length(ll_catchatlgth_indicator)ll_catchatlgth_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.ll_catchatlgth_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_ll_catchatlgth_fscalar log-likelihood multiplier female longline LFloglik_wgt_ll_catchatlgth_mscalar log-likelihood multiplier male longline LFtrwl_catchatlgth_indicatorlength(trwl_catchatlgth_indicator) = n_years. 1 = calculate catch at length in this year, 0 = don’t calculate catch at ageobs_trwl_catchatlgth_mTrawl fishery length composition observations dim = n_lengths x length(trwl_catchatlgth_indicator)obs_trwl_catchatlgth_fTrawl fishery length composition observations dim = n_lengths x length(trwl_catchatlgth_indicator)trwl_catchatlgth_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.trwl_catchatlgth_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_trwl_catchatlgth_mscalar log-likelihood multiplier female trawl LFloglik_wgt_trwl_catchatlgth_fscalar log-likelihood multiplier male trawl LFsrv_dom_ll_bio_indicatorlength(srv_dom_ll_bio_indicator) = n_years. 1 = calculate catch at survey index in this year, 0 = don’t calculate catch at ageobs_dom_ll_biodomestic longline survey index observation length = length(srv_dom_ll_bio_indicator)se_dom_ll_biodomestic longline survey index standard errors length = length(srv_dom_ll_bio_indicator)obs_dom_ll_bio_is_numbersinteger 0 = weight (biomass), 1 = numbers (abundance)srv_dom_ll_bio_likelihood0 = ADMB, 1 = lnormloglik_wgt_srv_dom_ll_bioscalar log-likelihood multiplier survey biomasssrv_jap_ll_bio_indicatorlength(srv_jap_ll_bio_indicator) = n_years. 1 = calculate catch at survey index in this year, 0 = don’t calculate catch at ageobs_jap_ll_biosurvey Japanese & coopoerative survey index observation length = length(srv_dom_ll_bio_indicator)se_jap_ll_biosurvey Japanese & coopoerative survey index standard errors length = length(srv_dom_ll_bio_indicator)obs_jap_ll_bio_is_numbersinteger 0 = weight (biomass), 1 = numbers (abundance)srv_jap_ll_bio_likelihood0 = ADMB, 1 = lnormloglik_wgt_srv_jap_ll_bioscalar log-likelihood multiplier survey biomasssrv_nmfs_trwl_bio_indicatorlength(srv_nmfs_trwl_bio_indicator) = n_years. 1 = calculate catch at survey index in this year, 0 = don’t calculate catch at ageobs_nmfs_trwl_bioNMFS GOA trawl index observation length = length(srv_nmfs_trwl_bio_indicator)se_nmfs_trwl_bioNMFS GOA trawl index standard errors length = length(srv_dom_ll_bio_indicator)obs_nmfs_trwl_bio_is_numbersinteger 0 = weight (biomass), 1 = numbers (abundance)srv_nmfs_trwl_bio_likelihood0 = ADMB, 1 = lnormloglik_wgt_srv_nmfs_trwl_bioscalar log-likelihood multiplier survey biomassll_cpue_indicatorlength(ll_cpue_indicator) = n_years. 1 = calculate catch at survey index in this year, 0 = don’t calculate catch at ageobs_ll_cpueNMFS GOA trawl index observation length = length(ll_cpue_indicator)se_ll_cpueNMFS GOA trawl index standard errors length = length(srv_dom_ll_bio_indicator)obs_ll_cpue_is_numbersinteger 0 = weight (biomass), 1 = numbers (abundance)ll_cpue_likelihood0 = ADMB, 1 = lnormloglik_wgt_ll_cpuescalar log-likelihood multiplier survey biomasssrv_jap_fishery_ll_bio_indicatorlength(srv_jap_fishery_ll_bio_indicator) = n_years. 1 = calculate catch at survey index in this year, 0 = don’t calculate catch at ageobs_jap_fishery_ll_bioearly japanese fishery index observation length = length(srv_jap_fishery_ll_bio_indicator)se_jap_fishery_ll_bioearly japanese fishery index standard errors length = length(srv_jap_fishery_ll_bio_indicator)obs_jap_fishery_ll_bio_is_numbersinteger 0 = weight (biomass), 1 = numbers (abundance)srv_jap_fishery_ll_bio_likelihood0 = ADMB, 1 = lnormloglik_wgt_jap_fishery_ll_bioscalar log-likelihood multiplier survey biomasssrv_dom_ll_age_indicatorlength(srv_dom_ll_age_indicator) = n_years. 1 = calculate catch at age in this year, 0 = don’t calculate catch at ageobs_srv_dom_ll_ageDomestic Longline survey composition observations dim = n_ages x ll_catchatage_compsrv_dom_ll_age_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.srv_dom_ll_age_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_srv_dom_ll_agescalar log-likelihood multipliersrv_dom_ll_lgth_indicatorlength(srv_dom_ll_lgth_indicator) = n_years. 1 = calculate catch at length in this year, 0 = don’t calculate catch at ageobs_srv_dom_ll_lgth_mDomestic Longline survey length composition observations dim = n_lengths x length(srv_dom_ll_lgth_indicator)obs_srv_dom_ll_lgth_fDomestic Longline survey length composition observations dim = n_lengths x length(srv_dom_ll_lgth_indicator)srv_dom_ll_lgth_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.srv_dom_ll_lgth_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_srv_dom_ll_lgth_mscalar log-likelihood multiplier female survey longline LFloglik_wgt_srv_dom_ll_lgth_fscalar log-likelihood multiplier male survey longline LFsrv_jap_ll_age_indicatorlength(srv_jap_ll_age_indicator) = n_years. 1 = calculate catch at age in this year, 0 = don’t calculate catch at ageobs_srv_jap_ll_ageDomestic Longline survey composition observations dim = n_ages x ll_catchatage_compsrv_jap_ll_age_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.srv_jap_ll_age_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_srv_jap_ll_agescalar log-likelihood multipliersrv_jap_ll_lgth_indicatorlength(srv_jap_ll_lgth_indicator) = n_years. 1 = calculate catch at length in this year, 0 = don’t calculate catch at ageobs_srv_jap_ll_lgth_mJapanese & Co-operative Longline survey length composition observations dim = n_lengths x length(srv_jap_ll_lgth_indicator)obs_srv_jap_ll_lgth_fJapanese & Co-operative Longline survey length composition observations dim = n_lengths x length(srv_jap_ll_lgth_indicator)srv_jap_ll_lgth_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.srv_jap_ll_lgth_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_srv_jap_ll_lgth_mscalar log-likelihood multiplier female survey longline LFloglik_wgt_srv_jap_ll_lgth_fscalar log-likelihood multiplier male survey longline LFsrv_jap_fishery_ll_lgth_indicatorlength(srv_jap_fishery_ll_lgth_indicator) = n_years. 1 = calculate catch at length in this year, 0 = don’t calculate catch at ageobs_srv_jap_fishery_ll_lgthEarly Japanese fishery length composition observations dim = n_lengths x length(srv_jap_fishery_ll_lgth_indicator)srv_jap_fishery_ll_lgth_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.srv_jap_fishery_ll_lgth_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_srv_jap_fishery_ll_lgthscalar log-likelihood multiplier female survey longline LFsrv_nmfs_trwl_age_indicatorlength(srv_nmfs_trwl_age_indicator) = n_years. 1 = calculate catch at age in this year, 0 = don’t calculate catch at ageobs_srv_nmfs_trwl_ageNMFS GOA trawl survey composition observations dim = n_ages x ll_catchatage_compsrv_nmfs_trwl_age_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.srv_nmfs_trwl_age_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_srv_nmfs_trwl_agescalar log-likelihood multipliersrv_nmfs_trwl_lgth_indicatorlength(srv_nmfs_trwl_lgth_indicator) = n_years. 1 = calculate catch at length in this year, 0 = don’t calculate catch at ageobs_srv_nmfs_trwl_lgth_mNMFS GOA trawl survey length composition observations dim = n_lengths x length(srv_nmfs_trwl_lgth_indicator)obs_srv_nmfs_trwl_lgth_fNMFS GOA trawl survey length composition observations dim = n_lengths x length(srv_nmfs_trwl_lgth_indicator)srv_nmfs_trwl_lgth_covar_structure0 = iid, 5 = AR(1), 2 = Unstructured.srv_nmfs_trwl_lgth_comp_likelihood0 = old multinomial, 1 = TMB’s Multinomial, 2 = dirichlet-multinomial (not implemented)loglik_wgt_srv_nmfs_trwl_lgth_mscalar log-likelihood multiplier female survey NMFS GOA trawl LFloglik_wgt_srv_nmfs_trwl_lgth_fscalar log-likelihood multiplier male survey NMFS GOA trawl LFcpue_q_prior_typeinteger specifying prior type for cpue (ll fishery index) catchability. 0 = none (uniform), 1 = ADMB version. Needs to be one for each time-block.mu_cpue_qvector specifying the mean for q priorsd_cpue_qvector specifying the standard deviation for q priorsrv_jap_fishery_ll_prior_typeinteger specifying prior type for srv_jap_fishery_ll (early japanese fishery index) catchability. 0 = none (uniform), 1 = ADMB version. Needs to be one for each time-block.mu_srv_jap_fishery_ll_qvector specifying the mean for q priorsd_srv_jap_fishery_ll_qvector specifying the standard deviation for q priorsrv_nmfs_trwl_q_prior_typeinteger specifying prior type for trawl catchability. 0 = none (uniform), 1 = ADMB version. Needs to be one for each time-block.mu_srv_nmfs_trwl_qvector specifying the mean for q priorsd_srv_nmfs_trwl_qvector specifying the standard deviation for q priorsrv_jap_ll_q_prior_typeinteger specifying prior type for japanese longline catchability. 0 = none (uniform), 1 = ADMB version. Needs to be one for each time-block.mu_srv_jap_ll_qvector specifying the mean for q priorsd_srv_jap_ll_qvector specifying the standard deviation for q priorsrv_dom_ll_q_prior_typeinteger specifying prior type for japanese longline catchability. 0 = none (uniform), 1 = ADMB version. Needs to be one for each time-block.mu_srv_dom_ll_qvector specifying the mean for q priorsd_srv_dom_ll_qvector specifying the standard deviation for q priorloglik_wgt_q_priorsscalar specifying the log-likelihood weight (multiplier for the priors)M_prior_typeinteger specifying prior type for japanese longline catchability. 0 = none (uniform), 1 = ADMB version. Needs to be one for each time-block.mu_Mvector specifying the mean for q priorsd_Mvector specifying the standard deviation for q priorloglik_wgt_M_priorsscalar specifying the log-likelihood weight (multiplier for the priors)loglik_wgt_M_regulationsscalar specifying the log-likelihood weight for F-devs (multiplier for the priors)
parameters
ln_mean_recscalar of natural logarithm of mean recruitment (units are log millions).ln_rec_devvector of recruitment deviations, one for each year in the model. I split the ADMB model up into two parametersln_init_rec_devRecruitment deviations to apply during initialization they include years before the assessment starts: length = n_init_rec_devsln_ll_sel_parsarray of log selectivity parameters dim = time-blocks, max(sel parameters), n_sexln_trwl_sel_parsarray of log selectivity parameters dim = time-blocks, max(sel parameters), n_sexln_ll_F_avgscalar for average log fishing mortalityln_ll_F_devsvector of fishing mortality deviationsln_trwl_F_avgscalar for average log fishing mortalityln_trwl_F_devsvector of fishing mortality deviationsln_ll_cpue_qvector of log catchabilities parameters for cpue observation. length = time-blocksln_srv_jap_fishery_ll_qvector of log catchabilities parameters for srv_dom_ll observation. length = time-blocksln_srv_jap_fishery_ll_sel_parsarray of log selectivity parameters dim = time-blocks, max(sel parameters): NOTE not sex disaggregated!! no sex dimensionln_srv_nmfs_trwl_qvector of log catchabilities parameters for NMFS bottom trawl survey observation. length = time-blocksln_srv_nmfs_trwl_sel_parsarray of log selectivity parameters dim = time-blocks, max(sel parameters), n_sexln_srv_jap_ll_qvector of log catchabilities parameters for japanese longline survey observation. length = time-blocksln_srv_jap_ll_sel_parsarray of log selectivity parameters dim = time-blocks, max(sel parameters), n_sexln_srv_dom_ll_qvector of log catchabilities parameters for Domestic longline survey observation. length = time-blocksln_srv_dom_ll_sel_parsarray of log selectivity parameters dim = time-blocks, max(sel parameters), n_sexln_Mscalar log of parameterln_M_year_devsvector of log year deviationsln_M_age_devsvector of log age deviations