Package: buildmer 2.11

Cesko C. Voeten

buildmer: Stepwise Elimination and Term Reordering for Mixed-Effects Regression

Finds the largest possible regression model that will still converge for various types of regression analyses (including mixed models and generalized additive models) and then optionally performs stepwise elimination similar to the forward and backward effect-selection methods in SAS, based on the change in log-likelihood or its significance, Akaike's Information Criterion, the Bayesian Information Criterion, the explained deviance, or the F-test of the change in R².

Authors:Cesko C. Voeten [aut, cre]

buildmer_2.11.tar.gz
buildmer_2.11.zip(r-4.5)buildmer_2.11.zip(r-4.4)buildmer_2.11.zip(r-4.3)
buildmer_2.11.tgz(r-4.4-any)buildmer_2.11.tgz(r-4.3-any)
buildmer_2.11.tar.gz(r-4.5-noble)buildmer_2.11.tar.gz(r-4.4-noble)
buildmer_2.11.tgz(r-4.4-emscripten)buildmer_2.11.tgz(r-4.3-emscripten)
buildmer.pdf |buildmer.html
buildmer/json (API)

# Install 'buildmer' in R:
install.packages('buildmer', repos = c('https://cvoeten.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://gitlab.com/cvoeten/buildmer

Datasets:
  • migrant - A very small dataset from a pilot study on sound change.
  • vowels - Vowel data from a pilot study.

On CRAN:

5.66 score 164 scripts 1.4k downloads 4 mentions 24 exports 11 dependencies

Last updated 1 years agofrom:6aca1c8e94. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 22 2024
R-4.5-winOKNov 22 2024
R-4.5-linuxOKNov 22 2024
R-4.4-winOKNov 22 2024
R-4.4-macOKNov 22 2024
R-4.3-winOKNov 22 2024
R-4.3-macOKNov 22 2024

Exports:add.termsbuild.formulabuildbambuildclmmbuildcustombuildgambuildgammbuildgamm4buildGLMMadaptivebuildglmmTMBbuildglsbuildlmebuildmerbuildmer.nbbuildmerControlbuildmertreebuildmultinomconvergeddiagLRTalphamkBuildmerre2mgcvremove.termstabulate.formula

Dependencies:bootlatticelme4MASSMatrixmgcvminqanlmenloptrRcppRcppEigen

Using 'buildmer' to automatically find & compare maximal (mixed) models

Rendered frombuildmer.Rmdusingknitr::rmarkdownon Nov 22 2024.

Last update: 2021-08-20
Started: 2019-03-14

Readme and manuals

Help Manual

Help pageTopics
Construct and fit as complete a model as possible and perform stepwise eliminationbuildmer-package
Add terms to a formulaadd.terms
Convert a buildmer term list into a proper model formulabuild.formula
Use 'buildmer' to fit big generalized additive models using 'bam' from package 'mgcv'buildbam
Use 'buildmer' to fit cumulative link mixed models using 'clmm' from package 'ordinal'buildclmm
Use 'buildmer' to perform stepwise elimination using a custom fitting functionbuildcustom
Use 'buildmer' to fit generalized additive models using 'gam' from package 'mgcv'buildgam
Use 'buildmer' to fit big generalized additive models using 'gamm' from package 'mgcv'buildgamm
Use 'buildmer' to fit generalized additive models using package 'gamm4'buildgamm4
Use 'buildmer' to fit generalized linear mixed models using 'mixed_model' from package 'GLMMadaptive'buildGLMMadaptive
Use 'buildmer' to perform stepwise elimination on 'glmmTMB' modelsbuildglmmTMB
Use 'buildmer' to fit generalized-least-squares models using 'gls' from 'nlme'buildgls
Use 'buildmer' to perform stepwise elimination of mixed-effects models fit via 'lme' from 'nlme'buildlme
Use 'buildmer' to fit mixed-effects models using 'lmer'/'glmer' from 'lme4'buildmer
The buildmer classbuildmer-class mkBuildmer
Use 'buildmer' to fit negative-binomial models using 'glm.nb' and 'glmer.nb'buildmer.nb
Set control options for buildmerbuildmerControl
Use 'buildmer' to perform stepwise elimination for 'lmertree' and 'glmertree' models from package 'glmertree'buildmertree
Use 'buildmer' to perform stepwise elimination for 'multinom' models from package 'nnet'buildmultinom
Test a model for convergenceconverged
Diagonalize the random-effect covariance structure, possibly assisting convergencediag,formula-method
Generate an LRT elimination function with custom alpha levelLRTalpha
A very small dataset from a pilot study on sound change.migrant
Convert lme4 random-effect terms to mgcv 're' smoothsre2mgcv
Remove terms from a formularemove.terms
Parse a formula into a buildmer terms listtabulate.formula
Vowel data from a pilot study.vowels