Skip to content

CARRoT

Predicting Categorical and Continuous Outcomes Using One in Ten Rule

v3.0.2 · Oct 13, 2023 · GPL-2

Description

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>.

Downloads

354

Last 30 days

10827th

950

Last 90 days

3.7K

Last year

Trend: +7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies nnet doParallel Rdpack foreach CARRoT

Version History

new 3.0.2 Mar 10, 2026
updated 3.0.2 ← 3.0.1 diff Oct 12, 2023
updated 3.0.1 ← 3.0.0 diff Aug 14, 2023
updated 3.0.0 ← 2.5.2 diff Apr 16, 2023
updated 2.5.2 ← 2.5.1 diff Jun 7, 2021
updated 2.5.1 ← 2.5.0 diff May 13, 2020
updated 2.5.0 ← 2.0.0 diff Mar 25, 2020
updated 2.0.0 ← 1.5.0 diff Mar 6, 2019
updated 1.5.0 ← 1.0.0 diff Nov 26, 2018
updated 1.0.0 ← 0.1.0 diff Jun 29, 2018
new 0.1.0 Apr 5, 2018