getADMBHessian | R Documentation |
Reads the hessian file from any ADMB fit. Used here with the a4a model.
getADMBHessian(wkdir)
getADMBCovariance(wkdir)
wkdir |
the location of the admb output |
a list with the following elements
getADMBHessian
is intended to be used internally
# load some data
data(ple4)
data(ple4.indices)
# choose a working directory
wkdir <- tempfile()
# do an 'assessment' fit with default settings (not recomended!) and keep results in wkdir
fit <- sca(stock=ple4,indices=ple4.indices,wkdir=wkdir)
hessInfo <- getADMBHessian(wkdir)
str(hessInfo)
# calculate covariance matrix
Sigma <- solve(hessInfo$hes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.