CARRoT: Predicting Categorical and Continuous Outcomes Using One in Ten Rule

Predicts categorical or continuous outcomes while concentrating on a number of key points. These are Cross-validation, Accuracy, Regression and Rule of Ten or "one in ten rule" (CARRoT), and, in addition to it R-squared statistics, prior knowledge on the dataset etc. It performs the cross-validation specified number of times by partitioning the input into training and test set and fitting linear/multinomial/binary regression models to the training set. All regression models satisfying chosen constraints are fitted and the ones with the best predictive power are given as an output. Best predictive power is understood as highest accuracy in case of binary/multinomial outcomes, smallest absolute and relative errors in case of continuous outcomes. For binary case there is also an option of finding a regression model which gives the highest AUROC (Area Under Receiver Operating Curve) value. The option of parallel toolbox is also available. Methods are described in Peduzzi et al. (1996) <doi:10.1016/S0895-4356(96)00236-3> , Rhemtulla et al. (2012) <doi:10.1037/a0029315>, Riley et al. (2018) <doi:10.1002/sim.7993>, Riley et al. (2019) <doi:10.1002/sim.7992>.

Getting started

Package details

AuthorAlina Bazarova [aut, cre], Marko Raseta [aut]
MaintainerAlina Bazarova <al.bazarova@fz-juelich.de>
LicenseGPL-2
Version3.0.2
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("CARRoT")

Try the CARRoT package in your browser

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

CARRoT documentation built on Oct. 14, 2023, 1:06 a.m.