project_SPM: project_SPM

View source: R/surplus_production_funs.R

project_SPMR Documentation

project_SPM

Description

Given an estimated model, will project forward proj_years and simulate data. Uncertainty comes from estimated parameters, as well as the process error which is assumed to be estimated

Usage

project_SPM(
  fixed_effect_estimates = vector(),
  covariance_estimates = matrix(),
  proj_years,
  m,
  n_sims,
  B_Y = list()
)

Arguments

fixed_effect_estimates

<vector> MLE estimates

covariance_estimates

<matrix> MLE standard errors, must match order of parameters fixed_effect_estimates

proj_years

int number of projection years

m

Shape parameter for the surplus production function

n_sims

int number random draws

B_Y

list 'mu' MLE derived quantity and 'sd'

Value

Returns a list of model quantiteis and observations that can be used as an operating model


Craig44/stockassessmenthelper documentation built on April 14, 2023, 10:57 a.m.