powered by
This function calculates AIC, BIC or HQ for a fitsimts object. This function currently only supports models estimated by the MLE.
# S3 method for fitsimts AIC(object, k = 2, ...)
A fitsimts object.
The penalty per parameter to be used; the default k = 2 is the classical AIC.
Optionally more fitted model objects.
AIC, BIC or HQ
# NOT RUN { set.seed(1) n = 300 Xt = gen_gts(n, AR(phi = c(0, 0, 0.8), sigma2 = 1)) mod = estimate(AR(3), Xt) # AIC AIC(mod) # BIC AIC(mod, k = log(n)) # HQ AIC(mod, k = 2*log(log(n))) # }
Run the code above in your browser using DataLab