Description Usage Arguments Value Note Author(s) References See Also Examples
Calculate Secondorder Akaike Information Criterion for one or several fitted model objects (AICc, AIC for small samples).
1 
object 
a fitted model object for which there exists a 
... 
optionally more fitted model objects. 
k 
the ‘penalty’ per parameter to be used; the default

REML 
optional logical value, passed to the 
If just one object is provided, returns a numeric value with the
corresponding AICc; if more than one object are provided, returns a
data.frame
with rows corresponding to the objects and columns
representing the number of parameters in the model (df) and AICc.
AICc should be used instead AIC when sample size is small in comparison to the number of estimated parameters (Burnham & Anderson 2002 recommend its use when n / K < 40).
Kamil Bartoń
Burnham, K. P. and Anderson, D. R (2002) Model selection and multimodel inference: a practical informationtheoretic approach. 2nd ed. New York, SpringerVerlag.
Hurvich, C. M. and Tsai, C.L. (1989) Regression and time series model selection in small samples, Biometrika 76: 297–307.
Akaike's An Information Criterion: AIC
Other implementations:
AICc
in package AICcmodavg,
AICc
in package bbmle and
aicc
in package glmulti
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27  #Modelaveraging mixed models
options(na.action = "na.fail")
data(Orthodont, package = "nlme")
# Fit model by REML
fm2 < lme(distance ~ Sex*age, data = Orthodont,
random = ~ 1Subject / Sex, method = "REML")
# Model selection: ranking by AICc using ML
ms2 < dredge(fm2, trace = TRUE, rank = "AICc", REML = FALSE)
(attr(ms2, "rank.call"))
# Get the models (fitted by REML, as in the global model)
fmList < get.models(ms2, 1:4)
# Because the models originate from 'dredge(..., rank = AICc, REML = FALSE)',
# the default weights in 'model.avg' are ML based:
summary(model.avg(fmList))
## Not run:
# the same result:
model.avg(fmList, rank = "AICc", rank.args = list(REML = FALSE))
## End(Not run)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.