Skip to content

AIBias

Longitudinal Bias Auditing for Sequential Decision Systems

v0.1.0 · Apr 4, 2026 · MIT + file LICENSE

Description

Provides tools for detecting, quantifying, and visualizing algorithmic bias as a longitudinal process in repeated decision systems. Existing fairness metrics treat bias as a single-period snapshot; this package operationalizes the view that bias in sequential systems must be measured over time. Implements group-specific decision-rate trajectories, standardized disparity measures analogous to the standardized mean difference (Cohen, 1988, ISBN:0-8058-0283-5), cumulative bias burden, Markov-based transition disparity (recovery and retention gaps), and a dynamic amplification index that quantifies whether prior decisions compound current group inequality. The amplification framework extends longitudinal causal inference ideas from Robins (1986) <doi:10.1016/0270-0255(86)90088-6> and the sequential decision-process perspective in the fairness literature (see <https://fairmlbook.org>) to the audit setting. 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>). Uncertainty quantification uses the cluster bootstrap (Cameron, 2008, <doi:10.1162/rest.90.3.414>).

CRAN Check Status

5 OK
Show all 5 flavors
Flavor Status
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-release-macos-arm64 OK

Check History

OK 3 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 4, 2026

Dependency Network

Dependencies Reverse dependencies dplyr tidyr ggplot2 rlang cli purrr tibble AIBias

Version History

new 0.1.0 Apr 4, 2026