SPARRAfairness: Analysis of Differential Behaviour of SPARRA Score Across Demographic Groups

The SPARRA risk score (Scottish Patients At Risk of admission and Re-Admission) estimates yearly risk of emergency hospital admission using electronic health records on a monthly basis for most of the Scottish population. This package implements a suite of functions used to analyse the behaviour and performance of the score, focusing particularly on differential performance over demographically-defined groups. It includes useful utility functions to plot receiver-operator-characteristic, precision-recall and calibration curves, draw stock human figures, estimate counterfactual quantities without the need to re-compute risk scores, to simulate a semi-realistic dataset.

Version: 0.0.0.2
Depends: R (≥ 3.5.0), stats, graphics, grDevices, matrixStats, ranger
Imports: mvtnorm, cvAUC, ggplot2, ggrepel, patchwork, scales
Suggests: knitr, rmarkdown
Published: 2024-11-07
DOI: 10.32614/CRAN.package.SPARRAfairness
Author: Ioanna Thoma ORCID iD [aut], Catalina Vallejos ORCID iD [ctb], Louis Aslett ORCID iD [ctb], Jill Ireland ORCID iD [ctb], Simon Rogers ORCID iD [ctb], James Liley ORCID iD [cre, aut]
Maintainer: James Liley <james.liley at durham.ac.uk>
License: GPL (≥ 3)
NeedsCompilation: no
Materials: README NEWS
CRAN checks: SPARRAfairness results

Documentation:

Reference manual: SPARRAfairness.pdf
Vignettes: SPARRAfairness example (source, R code)

Downloads:

Package source: SPARRAfairness_0.0.0.2.tar.gz
Windows binaries: r-devel: SPARRAfairness_0.0.0.1.zip, r-release: SPARRAfairness_0.0.0.1.zip, r-oldrel: SPARRAfairness_0.0.0.2.zip
macOS binaries: r-release (arm64): SPARRAfairness_0.0.0.2.tgz, r-oldrel (arm64): SPARRAfairness_0.0.0.2.tgz, r-release (x86_64): SPARRAfairness_0.0.0.2.tgz, r-oldrel (x86_64): SPARRAfairness_0.0.0.2.tgz
Old sources: SPARRAfairness archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=SPARRAfairness to link to this page.