Package: SPARRAfairness 0.1.0.0
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. Our manuscript can be found at: <doi:10.1371/journal.pdig.0000675>.
Authors:
SPARRAfairness_0.1.0.0.tar.gz
SPARRAfairness_0.1.0.0.zip(r-4.7-any)SPARRAfairness_0.1.0.0.zip(r-4.6-any)SPARRAfairness_0.1.0.0.zip(r-4.5-any)
SPARRAfairness_0.1.0.0.tgz(r-4.6-any)SPARRAfairness_0.1.0.0.tgz(r-4.5-any)
SPARRAfairness_0.1.0.0.tar.gz(r-4.7-any)SPARRAfairness_0.1.0.0.tar.gz(r-4.6-any)
SPARRAfairness_0.1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SPARRAfairness/json (API)
| # Install 'SPARRAfairness' in R: |
| install.packages('SPARRAfairness', repos = c('https://jamesliley.r-universe.dev', 'https://cloud.r-project.org')) |
- all_data - All data for fairness measures
- decomposition_matrix - Decomposition matrix
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:c9bfaa8c38. Checks:7 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | WARNING | 163 | ||
| source / vignettes | OK | 234 | ||
| linux-release | WARNING | 159 | ||
| macos-release | WARNING | 193 | ||
| macos-oldrel | WARNING | 201 | ||
| windows-devel | WARNING | 114 | ||
| windows-release | WARNING | 122 | ||
| windows-oldrel | WARNING | 99 | ||
| wasm-release | OK | 118 |
Exports:abadjusted_fdradjusted_forcal_2panelcounterfactual_yhatdat2matdemographic_paritydrawpersondrawpropfor_breakdowngetcalgetprcgetrocgroup_fairnessgroupmetric_2panelintegrallogisticlogitphs_coloursplot_decompprc_2panelroc_2panelsim_pop_data
Dependencies:bitopscaToolsclicpp11cvAUCdata.tablefarverggplot2ggrepelgluegplotsgtablegtoolsisobandKernSmoothlabelinglatticelifecycleMatrixmatrixStatsmvtnormpatchworkR6rangerRColorBrewerRcppRcppEigenrlangROCRS7scalesvctrsviridisLitewithr