ref.bisect | R Documentation |
The plain bisection algorithm (Burden & Douglas, 1985) is employed here to find the value of a given forecast target quantity (e.g. 'fbar') for which a selected value of a performance statistic is obtained over a chosen period.
ref.bisect(
stock,
sr,
deviances = rec(stock) %=% 1,
metrics,
refpts,
statistic,
years,
pyears = years,
tune,
target = 1,
tol = 0.01,
maxit = 15,
verbose = TRUE
)
stock |
object class FLStock |
sr |
object class FLSR |
metrics |
FLQuant of FLStock to be defined |
statistic |
|
years |
years to be evaluated |
tune |
range for input x |
target |
target with default 1 for ratios |
tol |
tolerance level |
maxit |
number of optimisation steps |
log |
if TRUE, optimise on log-scale |
Credits to Iago Mosqueira
Burden, Richard L.; Faires, J. Douglas (1985), "2.1 The Bisection Algorithm", Numerical Analysis (3rd ed.), PWS Publishers, ISBN 0-87150-857-5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.