View source: R/surplus_production_funs.R
surplus_production_model_sigma | R Documentation |
simulates a surplus production model can be used as an operating model, Different from the above uses a standard deviation for process error instead of CV
surplus_production_model_sigma(
seed = 123,
n_t,
B1,
r,
k,
catches,
obs_std,
catchability,
observation_likelihood = 1,
process_error = NULL,
process_std = NULL
)
seed |
integer random number seed |
n_t |
<integer> number of time-steps to run the model |
B1 |
<real> starting exploited biomass |
r |
<real> intrinsic growth parameter. |
k |
<real> carrying capacity parameter. |
catches |
<vector> observed catches, defines number of years, so if you have a period of no catches set values of 0, number of years = length(catches+ 1) |
obs_std |
<real> Standard deviation which is used to generate simulated observations. |
catchability |
<vector> a scalar to generate the relative index observation |
observation_likelihood |
<int> likelihood type, 1 = lognormal, 2 = normal, 3 = ... |
process_error |
(optional) time specific time deviations (epsilon_t,p) for each time step |
process_std |
(optional) standard deviation for process deviations corrections |
Returns a list of model quantities and observations that can be used as an operating model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.