Fairmetrics: An R package for group fairness evaluation

Benjamin Smith, Jianhui Gao, Jessica Gronsbell
6/6/2025
stat.COcs.LGstat.ML

No confident code implementation found for this paper.

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).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{smith2025fairmetrics,
  title  = {Fairmetrics: An R package for group fairness evaluation},
  author = {Benjamin Smith and Jianhui Gao and Jessica Gronsbell},
  year   = {2025},
  eprint = {2506.06243},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.06243v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.06243.svg)](https://codeofpaper.com/paper/2506.06243)

Discussion