Learn R Programming

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

AICcmodavg (version 1.15)

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).

Copy Link

Version

Install

install.packages('AICcmodavg')

Monthly Downloads

9,786

Version

1.15

License

GPL (>= 2 )

Maintainer

Marc J Mazerolle

Last Published

April 23rd, 2011

Functions in AICcmodavg (1.15)

predictSE.mer

Computing Predicted Values and Standard Errors
modavg.shrink

Compute Model-averaged Parameter Estimate with Shrinkage (Multimodel Inference)
extractSE.mer

Extract SE of Fixed Effects of 'glmer' Fit
evidence

Compute Evidence Ratio Between Two Models
importance

Compute Importance Values of Variable
aictab

Create Model Selection Tables
c_hat

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

Flour beetle data.
pine

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

Computing Confidence Set for the Kullback-Leibler Best Model
cement

Heat expended following hardening of Portland cement.
AICcmodavg-package

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

Anuran larvae counts in minnow traps across pond type.
dry.frog

Frog dehydration experiment on three different substrate types.
modavgpred

Compute Model-averaged Predictions
predictSE.lme

Computing Predicted Values and Standard Errors
modavg

Compute Model-averaged Parameter Estimate (Multimodel Inference)
AICc

Computing AIC, AICc, QAIC, and QAICc
fam.link.mer

Extract Distribution Family and Link Function
modavg.utility

Accomodate Different Specifications of Interaction Terms