Learn R Programming

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

AICcmodavg (version 1.34)

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

6,541

Version

1.34

License

GPL (>= 2)

Maintainer

Marc J Mazerolle

Last Published

November 14th, 2013

Functions in AICcmodavg (1.34)

evidence

Compute Evidence Ratio Between Two Models
calcium

Blood Calcium Concentration in Birds Data
c_hat

Compute Estimate of Dispersion for Poisson and Binomial GLM's
fam.link.mer

Extract Distribution Family and Link Function
extract.LL

Extract Log-Likelihood of Model
boot.wt

Compute Model Selection Relative Frequencies
dictab

Create Model Selection Tables from Bayesian Analyses
AICc

Computing AIC, AICc, QAIC, and QAICc
AICcmodavg-package

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

Computing Predicted Values and Standard Errors
predictSE.lme

Computing Predicted Values and Standard Errors
DIC

Computing DIC
extractSE.mer

Extract SE of Fixed Effects of 'glmer' Fit
confset

Computing Confidence Set for the Kullback-Leibler Best Model
iron

Iron Content in Food
beetle

Flour Beetle Data
cement

Heat Expended Following Hardening of Portland Cement
modavg.effect

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

Compute Model-averaged Predictions
Nmix.gof.test

Compute Chi-square Goodness-of-fit Test for N-mixture Models
predictSE.mer

Computing Predicted Values and Standard Errors
mb.gof.test

Compute MacKenzie and Bailey Goodness-of-fit Test for Single Season Occupancy Models
importance

Compute Importance Values of Variable
aictab

Create Model Selection Tables
modavg.utility

Accomodate Different Specifications of Interaction Terms
min.trap

Anuran larvae counts in minnow traps across pond type
mult.comp

Create Model Selection Tables based on Multiple Comparisons
predictSE.zip

Computing Predicted Values and Standard Errors
lizards

Habitat Preference of Lizards
pine

Strength of Pine Wood Based on the Density Adjusted for Resin Content
turkey

Turkey Weight Gain
modavg.shrink

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

Compute Model-averaged Parameter Estimate (Multimodel Inference)
dry.frog

Frog Dehydration Experiment on Three Substrate Types