AIBias: Longitudinal Bias Auditing for Sequential Decision Systems

Tools for auditing how group disparities evolve in repeated binary decision systems. Computes group-specific decision-rate trajectories, standardized disparities analogous to the standardized mean difference (Cohen, 1988, ISBN:0-8058-0283-5), cumulative bias burden, Markov-based recovery and retention gaps, and an index contrasting the two. Decomposes the change in a between-group gap from one occasion to the next into the prior gap carried forward, recovery and retention contributions, and terms for change in which units have recorded decisions, using symmetric rate decomposition (Kitagawa, 1955, <doi:10.1080/01621459.1955.10501299>). The decomposition is an exact accounting identity on the recorded data. Covariate-adjusted trajectories are estimated via logistic regression, generalized additive models (Wood, 2017, <doi:10.1201/9781315370279>), or generalized linear mixed models (Bates, 2015, <doi:10.18637/jss.v067.i01>). A cluster bootstrap (Cameron, 2008, <doi:10.1162/rest.90.3.414>) gives intervals for every reported component, and a simulator generates panels with known transition probabilities and selective observation.

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: dplyr (≥ 1.1.0), tidyr (≥ 1.3.0), ggplot2 (≥ 3.4.0), rlang (≥ 1.1.0), cli (≥ 3.6.0), purrr (≥ 1.0.0), tibble (≥ 3.2.0)
Suggests: mgcv, lme4, boot, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-11-30
DOI: 10.32614/CRAN.package.AIBias
Author: Subir Hait ORCID iD [aut, cre]
Maintainer: Subir Hait <haitsubi at msu.edu>
BugReports: https://github.com/subirhait/AIBias/issues
License: MIT + file LICENSE
URL: https://github.com/subirhait/AIBias
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: AIBias results

Documentation:

Reference manual: AIBias.html , AIBias.pdf
Vignettes: Introduction to AIBias: Longitudinal Bias Auditing (source, R code)

Downloads:

Package source: AIBias_0.2.0.tar.gz
Windows binaries: r-devel: AIBias_0.1.1.zip, r-release: AIBias_0.1.1.zip, r-oldrel: AIBias_0.1.1.zip
macOS binaries: r-release (arm64): AIBias_0.1.1.tgz, r-oldrel (arm64): AIBias_0.1.1.tgz, r-release (x86_64): AIBias_0.1.1.tgz, r-oldrel (x86_64): AIBias_0.1.1.tgz
Old sources: AIBias archive

Linking:

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