View source: R/surplus_production_funs.R
general_surplus_production_model_sigma | R Documentation |
that can be used as an operating model Different from the above uses a standard deviation for process error instead of CV and also allow for fishing to be input as both catch and exploitation.
general_surplus_production_model_sigma(
seed = 123,
n_t,
B1,
m,
r,
k,
catches = NULL,
exploitation = NULL,
obs_std,
catchability,
observation_likelihood = 1,
process_error = NULL,
process_std = NULL,
n_obs_series = 1
)
seed |
seed for random number generator |
n_t |
<integer> number of time-steps to run the model |
B1 |
<real> starting exploited biomass |
m |
<real> shape parameter for the surplus production curve (m = 2 = schafer) |
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) |
exploitation |
<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 |
n_obs_series |
number relative indicies |
Returns a list of model quantities and observations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.