Package: SPARRAfairness 0.0.0.2
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:
SPARRAfairness_0.0.0.2.tar.gz
SPARRAfairness_0.0.0.2.zip(r-4.5)SPARRAfairness_0.0.0.2.zip(r-4.4)SPARRAfairness_0.0.0.2.zip(r-4.3)
SPARRAfairness_0.0.0.2.tgz(r-4.4-any)SPARRAfairness_0.0.0.2.tgz(r-4.3-any)
SPARRAfairness_0.0.0.2.tar.gz(r-4.5-noble)SPARRAfairness_0.0.0.2.tar.gz(r-4.4-noble)
SPARRAfairness_0.0.0.2.tgz(r-4.4-emscripten)SPARRAfairness_0.0.0.2.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')) |
- 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 16 days agofrom:36fae08ab9. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 08 2024 |
R-4.5-win | OK | Nov 08 2024 |
R-4.5-linux | OK | Nov 08 2024 |
R-4.4-win | OK | Nov 08 2024 |
R-4.4-mac | OK | Nov 08 2024 |
R-4.3-win | OK | Nov 08 2024 |
R-4.3-mac | OK | Nov 08 2024 |
Exports:abadjusted_fdradjusted_forcal_2panelcounterfactual_yhatdat2matdemographic_paritydrawpersondrawpropfor_breakdowngetcalgetprcgetrocgroup_fairnessgroupmetric_2panelintegrallogisticlogitphs_coloursplot_decompprc_2panelroc_2panelsim_pop_data
Dependencies:bitopscaToolsclicolorspacecvAUCdata.tablefansifarverggplot2ggrepelgluegplotsgtablegtoolsisobandKernSmoothlabelinglatticelifecyclemagrittrMASSMatrixmatrixStatsmgcvmunsellmvtnormnlmepatchworkpillarpkgconfigR6rangerRColorBrewerRcppRcppEigenrlangROCRscalestibbleutf8vctrsviridisLitewithr