Package: AIBias 0.1.1
AIBias: Longitudinal Bias Auditing for Sequential Decision Systems
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>).
Authors:
AIBias_0.1.1.tar.gz
AIBias_0.1.1.zip(r-4.7-any)AIBias_0.1.1.zip(r-4.6-any)AIBias_0.1.1.zip(r-4.5-any)
AIBias_0.1.1.tgz(r-4.6-any)AIBias_0.1.1.tgz(r-4.5-any)
AIBias_0.1.1.tar.gz(r-4.7-any)AIBias_0.1.1.tar.gz(r-4.6-any)
AIBias_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
AIBias/json (API)
| # Install 'AIBias' in R: |
| install.packages('AIBias', repos = c('https://causalfragility-lab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/causalfragility-lab/aibias/issues
- lending_panel - Synthetic Lending Panel Dataset
Last updated from:43d6fce404. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 154 | ||
| source / vignettes | OK | 199 | ||
| linux-release-x86_64 | OK | 147 | ||
| macos-release-arm64 | OK | 122 | ||
| macos-oldrel-arm64 | OK | 104 | ||
| windows-devel | OK | 110 | ||
| windows-release | OK | 129 | ||
| windows-oldrel | OK | 105 | ||
| wasm-release | OK | 138 |
Exports:aib_adjustaib_amplifyaib_auditaib_bootstrapaib_buildaib_describeaib_figuresaib_panel_infoaib_persistenceaib_transition
Dependencies:clicpp11dplyrfarvergenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Covariate-adjusted bias trajectories | aib_adjust |
| Compute dynamic bias amplification indices | aib_amplify |
| Run the full AIBias audit pipeline | aib_audit |
| Bootstrap confidence intervals for bias trajectories | aib_bootstrap |
| Build an AIBias audit object | aib_build |
| Describe longitudinal disparity trajectories | aib_describe |
| Copy and run the paper figures script | aib_figures |
| Check panel balance | aib_panel_info |
| Compute bias persistence above a threshold | aib_persistence |
| Compute group-specific decision transition matrices and disparities | aib_transition |
| Synthetic Lending Panel Dataset | lending_panel |
| Plot an aibias object | plot.aibias |
| Print an aibias object | print.aibias |
| Summarize an aibias object | summary.aibias |
