mixedbiastest: Bias Diagnostic for Linear Mixed Models

Provides a function to perform bias diagnostics on linear mixed models fitted with lmer() from the 'lme4' package. Compares an internal random-effects alignment diagnostic with a fitted permutation reference distribution, following Karl and Zimmerman (2021) <doi:10.1016/j.jspi.2020.06.004>. Conditional response-refit simulations separately record random-effects alignment and residual-weight contributions to estimation error. Karl and Zimmerman (2020) <doi:10.17632/tmynggddfm.1> provide R code for implementing the test using 'mvglmmRank' output. Development and review were assisted by 'GPT o1-preview', 'GPT 5 Pro', and 'GPT6 Astra'; the author is responsible for the code and its interpretation.

Version: 1.1.0
Depends: R (≥ 3.5.0)
Imports: lme4, Matrix, ggplot2, rlang
Suggests: plm, lmerTest, testthat (≥ 3.1.7)
Published: 2026-10-22
DOI: 10.32614/CRAN.package.mixedbiastest
Author: Andrew T. Karl ORCID iD [cre, aut]
Maintainer: Andrew T. Karl <akarl at asu.edu>
License: GPL-3
NeedsCompilation: no
Materials: NEWS
CRAN checks: mixedbiastest results

Documentation:

Reference manual: mixedbiastest.html , mixedbiastest.pdf

Downloads:

Package source: mixedbiastest_1.1.0.tar.gz
Windows binaries: r-devel: mixedbiastest_1.0.3.zip, r-release: mixedbiastest_1.0.3.zip, r-oldrel: mixedbiastest_1.0.3.zip
macOS binaries: r-release (arm64): mixedbiastest_1.1.0.tgz, r-oldrel (arm64): mixedbiastest_1.1.0.tgz, r-release (x86_64): mixedbiastest_1.1.0.tgz, r-oldrel (x86_64): mixedbiastest_1.1.0.tgz
Old sources: mixedbiastest archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mixedbiastest to link to this page.