powered by
Akaike information criterion of momentuHMM model(s).
# S3 method for momentuHMM AIC(object, ..., k = 2, n = NULL)
A momentuHMM object.
momentuHMM
Optional additional momentuHMM objects, to compare AICs of the different models.
Penalty per parameter. Default: 2 ; for classical AIC.
Optional sample size. If specified, the small sample correction AIC is used (i.e., AICc = AIC + kp(p+1)/(n-p-1) where p is the number of parameters).
AICc = AIC + kp(p+1)/(n-p-1)
The AIC of the model(s) provided. If several models are provided, the AICs are output in ascending order.
# NOT RUN { # m is a momentuHMM object (as returned by fitHMM), automatically loaded with the package m <- example$m AIC(m) # }
Run the code above in your browser using DataLab