Other packages > Find by keyword >

SPARRAfairness  

Analysis of Differential Behaviour of SPARRA Score Across Demographic Groups
View on CRAN: Click here


Download and install SPARRAfairness package within the R console
Install from CRAN:
install.packages("SPARRAfairness")

Install from Github:
library("remotes")
install_github("cran/SPARRAfairness")

Install by package version:
library("remotes")
install_version("SPARRAfairness", "0.1.0.0")



Attach the package and use:
library("SPARRAfairness")
Maintained by
James Liley
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-04-20
Latest Update: 2025-04-09
Description:
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.
How to cite:
James Liley (2023). SPARRAfairness: Analysis of Differential Behaviour of SPARRA Score Across Demographic Groups. R package version 0.1.0.0, https://cran.r-project.org/web/packages/SPARRAfairness. Accessed 27 Jun. 2026.
Previous versions and publish date:
0.0.0.1 (2023-04-20 19:22), 0.0.0.2 (2024-11-07 11:30)
Other packages that cited SPARRAfairness R package
View SPARRAfairness citation profile
Other R packages that SPARRAfairness depends, imports, suggests or enhances
Complete documentation for SPARRAfairness
Functions, R codes and Examples using the SPARRAfairness R package
Full SPARRAfairness package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
AHSurv  
Flexible Parametric Accelerated Hazards Models
Flexible parametric Accelerated Hazards (AH) regression models in overall and relative survival fram ...
Download / Learn more Package Citations See dependency  
PeakSegOptimal  
Optimal Segmentation Subject to Up-Down Constraints
Computes optimal changepoint models using the Poisson likelihood for non-negative count data, subj ...
Download / Learn more Package Citations See dependency  
assert  
Validate Function Arguments
Lightweight validation tool for checking function arguments and validating data analysis scripts. T ...
Download / Learn more Package Citations See dependency  
AzureKeyVault  
Key and Secret Management in 'Azure'
Manage keys, certificates, secrets, and storage accounts in Microsoft's 'Key Vault' service: ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,487

Author Associations

27,536

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA