powered by
Function calculating AIC for GNARfit models.
GNARfit
# S3 method for GNARfit AIC(object, ..., k=2)
a GNARfit object, output from a GNARfit call.
additional arguments, not used here.
the penalty for the criterion, the default k = 2 is the standard AIC.
k = 2
A numeric value corresponding to the AIC (or other criterion if k is set to something other than 2).
AIC
k
2
Smaller AIC values correspond to better fit.
# NOT RUN { #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))) # }
Run the code above in your browser using DataLab