Learn R Programming

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

AICcmodavg (version 1.26)

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 and 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 Cox regression ('coxph' class), 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', 'polr', 'clm', and 'clmm' classes), robust regression models ('rlm' class), 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), single-season and multiple-season N-mixture models for repeated counts ('unmarkedFitPCount' and 'unmarkedFitPCO' classes, respectively), and distance sampling models ('unmarkedFitDS' and 'unmarkedFitGDS' classes).

Copy Link

Version

Install

install.packages('AICcmodavg')

Monthly Downloads

9,453

Version

1.26

License

GPL (>= 2)

Maintainer

Marc J Mazerolle

Last Published

August 30th, 2012

Functions in AICcmodavg (1.26)

pine

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

Extract SE of Fixed Effects of 'glmer' Fit
modavg.utility

Accomodate Different Specifications of Interaction Terms
predictSE.lme

Computing Predicted Values and Standard Errors
AICc

Computing AIC, AICc, QAIC, and QAICc
evidence

Compute Evidence Ratio Between Two Models
confset

Computing Confidence Set for the Kullback-Leibler Best Model
fam.link.mer

Extract Distribution Family and Link Function
modavg.shrink

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

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

Compute Model-averaged Predictions
aictab

Create Model Selection Tables
predictSE.mer

Computing Predicted Values and Standard Errors
predictSE.gls

Computing Predicted Values and Standard Errors
dry.frog

Frog dehydration experiment on three different substrate types.
min.trap

Anuran larvae counts in minnow traps across pond type.
extract.LL

Extract Log-Likelihood of Model
importance

Compute Importance Values of Variable
c_hat

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

Heat expended following hardening of Portland cement.
modavg

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

Compute Model-averaged Effect Sizes (Multimodel Inference on Group Differences)
beetle

Flour beetle data.