sigmap | R Documentation |
By default the bdm package assumes that the process error variance is fixed on input and specified in the bdmData
object class. This function can be used to access or assign the standard deviation \sigma_p
within an bdmData
object.
sigmap(object, ...)
## S4 method for signature 'bdmData'
sigmap(object)
sigmap(object) <- value
## S4 replacement method for signature 'bdmData,numeric'
sigmap(object) <- value
object |
an |
... |
additional arguments to the generic function |
value |
a |
Process error is used to refer to the deviation of the process equation from the deterministic expectation:
E[B_{t+1}] = max(B_{t} + g(B_{t}) - H_{t}, 0)
where B
is the biomass, g()
is the production function and H
is the catch (or harvest). The process error is assumed by default to follow a log-normal distribution:
B_{t+1} \sim LN(ln(E[B_{t+1}])-\sigma^2_p/2, \sigma^2_p)
Realistic values for the process error are typically 0.05 < \sigma_p < 0.15
. The default value is \sigma_p = 0.05
.
Accessor function returns a numeric value. Assignment function populates the bdmData
object.
# initialize bdmData object
dat <- bdmData(harvest = 20:30, index = runif(11))
# assign and access sigmap
sigmap(dat) <- 0.1
sigmap(dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.