AIC.GNARfit | R Documentation |
Function calculating AIC for GNARfit
models.
## S3 method for class 'GNARfit'
AIC(object, ..., k=2)
object |
a |
... |
additional arguments, not used here. |
k |
the penalty for the criterion, the default |
Smaller AIC values correspond to better fit.
A numeric value corresponding to the AIC
(or other criterion if k
is set to something other than 2
).
Occasionally it has been observed that when the forecast horizon has been set too high, this can result in NA
AIC values. This can be resolved by reducing the forecast horizon.
If package users find this problem persists or they experience any other unexpected behaviour, please contact the package maintainer.
#AIC for two different GNAR fits for fiveNet data
#GNAR(2,[1,1])
AIC(GNARfit())
#GNAR(2,[1,0])
AIC(GNARfit(betaOrder=c(1,0)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.