jbhcxval | R Documentation |
jbhcxval() additional hindcast options with external foreward projections
jbhcxval(
hindcasts,
stochastic = c(TRUE, FALSE)[1],
AR1 = c(TRUE, FALSE)[1],
sigma.proc = NULL,
rho = NULL,
ndevs = 1,
run = NULL
)
stochastic |
if FALSE, process error sigma.proc is set to zero |
AR1 |
if TRUE, projection account auto correlation in the process devs |
sigma.proc |
option to specify the process error other than the posterior estimate |
rho |
if AR1 = TRUE, the autocorrelation coefficient is estimated from the proc devs |
ndevs |
number years on the tail to set initial proc.error for forecasting |
run |
option to assign a scenario name other than specified in build_jabba() |
hc |
object (list of models) from hindcast_jabba() |
thin |
option to thin the posterior at rates > 1 |
data.frame of kobe posterior model + forecast scenarios
data(iccat)
whm = iccat$whm
# ICCAT white marlin setup
jb = build_jabba(catch=whm$catch,cpue=whm$cpue,se=whm$se,assessment="WHM",scenario = "BaseCase",model.type = "Pella",r.prior = c(0.181,0.18),BmsyK = 0.39,igamma = c(0.001,0.001))
fit = fit_jabba(jb,quickmcmc=TRUE,verbose=TRUE)
hc = hindcast_jabba(jbinput=jb,fit=fit,peels=1:5)
jbplot_retro(hc)
jbplot_hcxval(hc,index=c(8,11))
hc.ar1 = jbhcxval(hc,AR1=TRUE) # do hindcasting with AR1
jbplot_hcxval(hc.ar1,index=c(8,11))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.