VPA: Virtual population analysis (VPA)

Description Usage Arguments Details Value References

View source: R/assess_VPA.R

Description

A VPA model that back-calculates abundance-at-age assuming that the catch-at-age is known without error and tuned to an index. The population dynamics equations are primarily drawn from VPA-2BOX (Porch 2018). MSY reference points are then calculated from the VPA output.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
VPA(
  x = 1,
  Data,
  expanded = FALSE,
  SR = c("BH", "Ricker"),
  vulnerability = c("logistic", "dome", "free"),
  I_type = c("B", "VB", "SSB"),
  start = NULL,
  fix_h = TRUE,
  fix_sigma = FALSE,
  fix_Fratio = TRUE,
  vul_pen = c(3, 0.4),
  R_pen = c(3, Data@sigmaR[x]),
  nitF = 5L,
  silent = TRUE,
  opt_hess = FALSE,
  n_restart = ifelse(opt_hess, 0, 1),
  control = list(iter.max = 2e+05, eval.max = 4e+05),
  ...
)

Arguments

x

A position in the Data object (by default, equal to one for assessments).

Data

An object of class Data

expanded

Whether the catch at age in Data has been expanded. If FALSE, then the catch in weight should be provided in Data@Cat so that the function can calculate annual expansion factors.

SR

Stock-recruit function (either "BH" for Beverton-Holt or "Ricker") for calculating MSY reference points.

vulnerability

Whether the terminal year vulnerability is "logistic" or "dome" (double-normal). If "free", independent F's are calculated in the terminal year (subject to the assumed ratio of F of the plus-group to the previous age class). See details for parameterization.

I_type

Whether the index surveys population biomass (B; this is the default in the DLMtool operating model), vulnerable biomass (VB), or spawning stock biomass (SSB).

start

Optional list of starting values. Entries can be expressions that are evaluated in the function. See details.

fix_h

Logical, whether to fix steepness to value in Data@steep. This only affects calculation of reference points.

fix_sigma

Logical, whether the standard deviation of the index is fixed. If TRUE, sigma is fixed to value provided in start (if provided), otherwise, value based on Data@CV_Ind.

fix_Fratio

Logical, whether the ratio of F of the plus-group to the previous age class is fixed in the model.

vul_pen

A length two vector that parameterizes how the model constrains the vulnerability in the most recent years. The first number is the number of years in which vulnerability will be constrained (as a random walk), the second number is the standard deviation of the random walk.

R_pen

A length two vector that parameterizes how the model constrains the recruitment in the most recent years. The first number is the number of years in which recruitment will be constrained (as a random walk), the second number is the standard deviation of the random walk.

nitF

The number of iterations for solving F in the model (via Newton's method).

silent

Logical, passed to MakeADFun, whether TMB will print trace information during optimization. Used for dignostics for model convergence.

opt_hess

Logical, whether the hessian function will be passed to nlminb during optimization (this generally reduces the number of iterations to convergence, but is memory and time intensive and does not guarantee an increase in convergence rate). Ignored if integrate = TRUE.

n_restart

The number of restarts (calls to nlminb) in the optimization procedure, so long as the model hasn't converged. The optimization continues from the parameters from the previous (re)start.

control

A named list of agruments for optimization to be passed to nlminb.

...

Other arguments to be passed.

Details

The VPA is initialized by estimating the terminal F-at-age. Parameter F_term is the apical terminal F if a functional form for vulnerability is used in the terminal year. If the terminal F-at-age are otherwise independent parameters, F_term is the F for the reference age which is half the maximum age. Once terminal-year abundance is estimated, the abundance in historical years can be back-calculated. The oldest age group is a plus-group, and requires an assumption regarding the ratio of F's between the plus-group and the next youngest age class. The F-ratio can be fixed (default) or estimated.

For start (optional), a named list of starting values of estimates can be provided for:

Value

An object of class Assessment. The F vector is the apical fishing mortality experienced by any age class in a given year. The U vector is the ratio of catch (weight) and vulnerable biomass, which may be a better description of fishing pressure (and UMSY = MSY/VBMSY).

References

Porch, C.E. 2018. VPA-2BOX 4.01 User Guide. NOAA Tech. Memo. NMFS-SEFSC-726. 67 pp.


tcarruth/MSEtool documentation built on Oct. 19, 2020, 6:09 a.m.