Estimation of Accuracy in Multisite Machine-Learning Models

The effects of the site may severely bias the accuracy of a multisite machine-learning model, even if the analysts removed them when fitting the model in the 'training set' and applying the model in the 'test set' (Solanes et al., Neuroimage 2023, 265:119800). This simple R package estimates the accuracy of a multisite machine-learning model unbiasedly, as described in (Solanes et al., Psychiatry Research: Neuroimaging 2021, 314:111313). It currently supports the estimation of sensitivity, specificity, balanced accuracy (for binary or multinomial variables), the area under the curve, correlation, mean squarer error, and hazard ratio for binomial, multinomial, gaussian, and survival (time-to-event) outcomes.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("multisite.accuracy")

1.3 by Joaquim Radua, 2 years ago


Browse source code at https://github.com/cran/multisite.accuracy


Authors: Joaquim Radua [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports coxme, lme4, lmerTest, logistf, metafor, pROC, survival


See at CRAN