Learn R Programming

⚠️There's a newer version (2.3-4) of this package.Take me there.

AICcmodavg (version 1.17)

Model selection and multimodel inference based on (Q)AIC(c)

Description

This package includes functions to create model selection tables based on Akaike's information criterion (AIC) and the second-order AIC (AICc), as well as their quasi-likelihood counterparts (QAIC, QAICc). Tables are printed with delta AIC and Akaike weights. The package also features functions to conduct classic model averaging (multimodel inference) for a given parameter of interest or predicted values, as well as a shrinkage version of model averaging parameter estimates. Other handy functions enable the computation of relative variable importance, evidence ratios, and confidence sets for the best model. The present version works with linear models ('lm' class), generalized linear models ('glm' class), linear models fit by generalized least squares ('gls' class), linear mixed models ('lme' class), generalized linear mixed models ('mer' class), multinomial and ordinal logistic regressions ('multinom' and 'polr' classes), and nonlinear models ('nls' class). The package also supports various models incorporating detection probabilities such as single-season occupancy models ('unmarkedFitOccu' class), multiple-season occupancy models ('unmarkedFitColExt' class), single-season heterogeneity models ('unmarkedFitOccuRN' class), and single-season and multiple-season N-mixture models for repeated counts ('unmarkedFitPCount' and 'unmarkedFitPCO' classes, respectively).

Copy Link

Version

Install

install.packages('AICcmodavg')

Monthly Downloads

9,453

Version

1.17

License

GPL (>= 2 )

Maintainer

Marc J Mazerolle

Last Published

June 20th, 2011

Functions in AICcmodavg (1.17)

evidence

Compute Evidence Ratio Between Two Models
min.trap

Anuran larvae counts in minnow traps across pond type.
extractSE.mer

Extract SE of Fixed Effects of 'glmer' Fit
dry.frog

Frog dehydration experiment on three different substrate types.
AICc

Computing AIC, AICc, QAIC, and QAICc
cement

Heat expended following hardening of Portland cement.
modavgpred

Compute Model-averaged Predictions
predictSE.lme

Computing Predicted Values and Standard Errors
importance

Compute Importance Values of Variable
confset

Computing Confidence Set for the Kullback-Leibler Best Model
modavg

Compute Model-averaged Parameter Estimate (Multimodel Inference)
modavg.utility

Accomodate Different Specifications of Interaction Terms
c_hat

Compute Estimate of Dispersion for Poisson and Binomial GLM's
aictab

Create Model Selection Tables
modavg.shrink

Compute Model-averaged Parameter Estimate with Shrinkage (Multimodel Inference)
pine

Strength of pine wood based on the density adjusted for resin content.
beetle

Flour beetle data.
fam.link.mer

Extract Distribution Family and Link Function
extract.LL.unmarked

Extract Log-Likelihood of Model
predictSE.mer

Computing Predicted Values and Standard Errors
AICcmodavg-package

Model Selection and Multimodel Inference Based on (Q)AIC(c)