fairmetrics: An R package for group fairness evaluation

Fairness is a growing area of machine learning (ML) that focuses on ensuring models do not produce systematically biased outcomes for specific groups, particularly those defined by protected attributes such as race, gender, or age. Evaluating fairness is a critical aspect of ML model development, as biased models can perpetuate structural inequalities. The {fairmetrics} R package offers a user-friendly framework for rigorously evaluating numerous group-based fairness criteria, including metrics based on independence (e.g., statistical parity), separation (e.g., equalized odds), and sufficiency (e.g., predictive parity). Group-based fairness criteria assess whether a model is equally accurate or well-calibrated across a set of predefined groups so that appropriate bias mitigation strategies can be implemented. {fairmetrics} provides both point and interval estimates for multiple metrics through a convenient wrapper function and includes an example dataset derived from the Medical Information Mart for Intensive Care, version II (MIMIC-II) database (Goldberger et al., 2000; Raffa, 2016).

Authors

Institutions

Publication Details

Journal
The Journal of Open Source Software
Published
2025-09-24
DOI
https://doi.org/10.21105/joss.08497
Citations
1
Primary Topic
Ethics and Social Impacts of AI
Type
article
Field-Weighted Citation Impact
2.37
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

fairmetrics: An R package for group fairness evaluation

Jessica Gronsbell, B. G. Smith, Jianhui Gao, Benson Chou
1 citations
The Journal of Open Source Software
Ethics and Social Impacts of AI
2.37
article

fairmetrics: An R package for group fairness evaluation

Jessica Gronsbell, B. G. Smith, Jianhui Gao, Benson Chou
article en
1 citations

Abstract

Fairness is a growing area of machine learning (ML) that focuses on ensuring models do not produce systematically biased outcomes for specific groups, particularly those defined by protected attributes such as race, gender, or age. Evaluating fairness is a critical aspect of ML model development, as biased models can perpetuate structural inequalities. The {fairmetrics} R package offers a user-friendly framework for rigorously evaluating numerous group-based fairness criteria, including metrics based on independence (e.g., statistical parity), separation (e.g., equalized odds), and sufficiency (e.g., predictive parity). Group-based fairness criteria assess whether a model is equally accurate or well-calibrated across a set of predefined groups so that appropriate bias mitigation strategies can be implemented. {fairmetrics} provides both point and interval estimates for multiple metrics through a convenient wrapper function and includes an example dataset derived from the Medical Information Mart for Intensive Care, version II (MIMIC-II) database (Goldberger et al., 2000; Raffa, 2016).

The Journal of Open Source SoftwareVol. 10(113)
University of Toronto (CA)
Openalex Percentile: Top 9%
Ethics and Social Impacts of AI
2.37
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

fairmetrics: An R package for group fairness evaluation — Jessica Gronsbell, B. G. Smith, et al. · The Journal of Open Source Software (2025) | TGRS Research Map | TGRS