fairmetrics: Fairness Evaluation Metrics with Confidence Intervals for Binary Protected Attributes

A collection of functions for computing fairness metrics for machine learning and statistical models, including confidence intervals for each metric. The package supports the evaluation of group-level fairness criterion commonly used in fairness research, particularly in healthcare for binary protected attributes. It is based on the overview of fairness in machine learning written by Gao et al (2025) <doi:10.1002/sim.70234>.

Package details

AuthorJianhui Gao [aut] (ORCID: <https://orcid.org/0000-0003-0915-1473>), Benjamin Smith [aut, cre] (ORCID: <https://orcid.org/0009-0007-2206-0177>), Benson Chou [aut] (ORCID: <https://orcid.org/0009-0007-0265-033X>), Jessica Gronsbell [aut] (ORCID: <https://orcid.org/0000-0002-5360-5869>)
MaintainerBenjamin Smith <benyamin.smith@mail.utoronto.ca>
LicenseMIT + file LICENSE
Version1.0.8
URL https://jianhuig.github.io/fairmetrics/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("fairmetrics")

Try the fairmetrics package in your browser

Any scripts or data that you put into this service are public.

fairmetrics documentation built on April 16, 2026, 5:07 p.m.