Standardized Accuracy and Other Model Performance Metrics
Overview
Standardized accuracy (staccuracy) is a framework for expressing accuracy scores such that 50% represents a reference level of performance and 100% is a perfect prediction. The 'staccuracy' package provides tools for creating staccuracy functions as well as some recommended staccuracy measures. It also provides functions for some classic performance metrics such as mean absolute error (MAE), root mean squared error (RMSE), and area under the receiver operating characteristic curve (AUCROC), as well as their winsorized versions when applicable.
- Add
reg_aucroc()function to calculate AUC for regression models. - Corrected bug in p-value calculation.
- Rewrote
sa_diff()output to separate staccuracies from their differences.
l- Use the (r+1)/(n+1) p-value calculation from North et al. (2003).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
- NOTE12 OK, 1 NOTE2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 7 (1 internal)includes a package overview page
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
9 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/tripartio/staccuracy on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-02-23 · The repository has a site deploy workflow
pkgdown site last built 2025-02-23
Dependencies
Installing staccuracy adds 20 packages (12 with compiled code, 18 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, dplyr 902 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.2.2Latest
- 0.2.0
- 0.1.02024-10-03
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-10-03
- Total releases
- 3 / 2 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2.0
- Download size
- 24 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("staccuracy")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.