Learn R Programming

cAIC4 (version 1.1)

Conditional Akaike Information Criterion for 'lme4' and 'nlme'

Description

Provides functions for the estimation of the conditional Akaike information in generalized mixed-effect models fitted with (g)lmer() from 'lme4', lme() from 'nlme' and gamm() from 'mgcv'. For a manual on how to use 'cAIC4', see Saefken et al. (2021) .

Copy Link

Version

Install

install.packages('cAIC4')

Monthly Downloads

1,434

Version

1.1

License

GPL (>= 2)

Maintainer

David Ruegamer

Last Published

April 4th, 2025

Functions in cAIC4 (1.1)

modelAvg

Model Averaging for Linear Mixed Models
getcondLL

Function to calculate the conditional log-likelihood
predictMA

Prediction of model averaged linear mixed models
stepcAIC

Function to stepwise select the (generalized) linear mixed model fitted via (g)lmer() or (generalized) additive (mixed) model fitted via gamm4() with the smallest cAIC.