multisite.accuracy: 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'. 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.

Getting started

Package details

AuthorJoaquim Radua
MaintainerJoaquim Radua <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the multisite.accuracy package in your browser

Any scripts or data that you put into this service are public.

multisite.accuracy documentation built on May 5, 2022, 5:06 p.m.