Description Usage Arguments Value Author(s) Examples
Extract standard information such as log-likelihood, AIC, coefficients, etc. from ADMB model fits
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## S3 method for class 'admb'
AIC(object, ..., k = 2)
## S3 method for class 'admb'
logLik(object, ...)
## S3 method for class 'admb'
deviance(object, ...)
## S3 method for class 'admb'
vcov(object, type=c("par","extra","all"),...)
## S3 method for class 'admb'
coef(object,type=c("par","extra","all"),...)
## S3 method for class 'admb'
stdEr(object,type=c("par","extra","all"),...)
## S3 method for class 'admb'
confint(object,parm, level=0.95, method="default", ...)
stdEr(object,...)
|
object |
an ADMB model fit (of class "admb") |
k |
penalty value for AIC fits |
type |
which type of parameters report. "par": parameters only; "extra": sdreport variables; "all": both |
parm |
(currently ignored: FIXME) select parameters |
level |
alpha level for confidence interval |
method |
(character): "default" or "quad", quadratic (Wald) intervals based on approximate standard errors; "profile", profile CIs (if profile was computed); "quantile", CIs based on quantiles of the MCMC-generated posterior density (if MCMC was computed); "HPDinterval", CIs based on highest posterior density (ditto) |
... |
other parameters (for S3 generic compatibility) |
Extracts appropriate values: numeric (scalar) for AIC, type logLik for logLik, numeric vector of coefficients, numeric variance-covariance matrix of parameter estimates
Ben Bolker
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.