CARRoT
3.0.2Predicting Categorical and Continuous Outcomes Using One in Ten Rule
Overview
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.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 95%
- References docs
- 16%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
10 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 3.0.2Latest
- 3.0.12023-08-15 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 3.0.02023-04-17 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.5.22021-06-08 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.5.12020-05-14 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.5.02020-03-26 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.0.02019-03-07 · diff ↗
- 1.5.02018-11-27 · diff ↗
Show 4 earlier events
- 1.0.02018-06-30 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.1.02018-04-06
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-04-06
- Total releases
- 10 / 8 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.4.0
- Download size
- 32 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("CARRoT")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.