Learn R Programming

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

AICcmodavg (version 1.35)

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' and 'merMod' classes), multinomial and ordinal logistic regressions ('multinom', 'polr', 'clm', and 'clmm' classes), robust regression models ('rlm' class), nonlinear models ('nls' class), and nonlinear mixed models ('nlme' class). The package also supports various models incorporating detection probabilities such as single-season occupancy models ('unmarkedFitOccu' and 'unmarkedFitOccuFP classes), 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). Some functions also allow the creation of model selection tables for Bayesian models of the 'bugs' and 'rjags' classes.

Copy Link

Version

Install

install.packages('AICcmodavg')

Monthly Downloads

9,453

Version

1.35

License

GPL (>= 2)

Maintainer

Marc J Mazerolle

Last Published

November 18th, 2013

Functions in AICcmodavg (1.35)

DIC

Computing DIC
beetle

Flour Beetle Data
c_hat

Compute Estimate of Dispersion for Poisson and Binomial GLM's
predictSE.gls

Computing Predicted Values and Standard Errors
predictSE.zip

Computing Predicted Values and Standard Errors
extractSE.mer

Extract SE of Fixed Effects of 'glmer' Fit
confset

Computing Confidence Set for the Kullback-Leibler Best Model
boot.wt

Compute Model Selection Relative Frequencies
mult.comp

Create Model Selection Tables based on Multiple Comparisons
dry.frog

Frog Dehydration Experiment on Three Substrate Types
dictab

Create Model Selection Tables from Bayesian Analyses
mb.gof.test

Compute MacKenzie and Bailey Goodness-of-fit Test for Single Season Occupancy Models
min.trap

Anuran larvae counts in minnow traps across pond type
lizards

Habitat Preference of Lizards
modavgpred

Compute Model-averaged Predictions
turkey

Turkey Weight Gain
predictSE.mer

Computing Predicted Values and Standard Errors
modavg.utility

Accomodate Different Specifications of Interaction Terms
iron

Iron Content in Food
importance

Compute Importance Values of Variable
modavg

Compute Model-averaged Parameter Estimate (Multimodel Inference)
predictSE.lme

Computing Predicted Values and Standard Errors
AICcmodavg-package

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

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

Strength of Pine Wood Based on the Density Adjusted for Resin Content
fam.link.mer

Extract Distribution Family and Link Function
calcium

Blood Calcium Concentration in Birds Data
extract.LL

Extract Log-Likelihood of Model
modavg.shrink

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

Heat Expended Following Hardening of Portland Cement
AICc

Computing AIC, AICc, QAIC, and QAICc
evidence

Compute Evidence Ratio Between Two Models
Nmix.gof.test

Compute Chi-square Goodness-of-fit Test for N-mixture Models
aictab

Create Model Selection Tables