Package: SPARRAfairness 0.0.0.1

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.

Authors:Ioanna Thoma [aut], Catalina Vallejos [ctb], Louis Aslett [ctb], Jill Ireland [ctb], Simon Rogers [ctb], James Liley [cre, aut]

SPARRAfairness_0.0.0.1.tar.gz
SPARRAfairness_0.0.0.1.zip(r-4.5)SPARRAfairness_0.0.0.1.zip(r-4.4)SPARRAfairness_0.0.0.1.zip(r-4.3)
SPARRAfairness_0.0.0.1.tgz(r-4.4-any)SPARRAfairness_0.0.0.1.tgz(r-4.3-any)
SPARRAfairness_0.0.0.1.tar.gz(r-4.5-noble)SPARRAfairness_0.0.0.1.tar.gz(r-4.4-noble)
SPARRAfairness_0.0.0.1.tgz(r-4.4-emscripten)SPARRAfairness_0.0.0.1.tgz(r-4.3-emscripten)
SPARRAfairness.pdf |SPARRAfairness.html
SPARRAfairness/json (API)
NEWS

# Install 'SPARRAfairness' in R:
install.packages('SPARRAfairness', repos = c('https://jamesliley.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

22 exports 0.00 score 15 dependencies 4 scripts 143 downloads

Last updated 1 years agofrom:b2bae6129b. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 12 2024
R-4.5-winNOTESep 12 2024
R-4.5-linuxNOTESep 12 2024
R-4.4-winNOTESep 12 2024
R-4.4-macNOTESep 12 2024
R-4.3-winOKSep 12 2024
R-4.3-macOKSep 12 2024

Exports:abadjusted_fdradjusted_forcal_2panelcounterfactual_yhatdat2matdemographic_paritydrawpersondrawpropgetcalgetprcgetrocgroup_fairnessgroupmetric_2panelintegrallogisticlogitphs_coloursplot_decompprc_2panelroc_2panelsim_pop_data

Dependencies:bitopscaToolscvAUCdata.tablegplotsgtoolsKernSmoothlatticeMatrixmatrixStatsmvtnormrangerRcppRcppEigenROCR

SPARRAfairness example

Rendered fromSPARRAfairness_example.Rmdusingknitr::knitron Sep 12 2024.

Last update: 2023-04-20
Started: 2023-04-20