Risk Model Decision Analysis
Overview
Provides tools to evaluate the value of using a risk prediction instrument to decide treatment or intervention (versus no treatment or intervention). Given one or more risk prediction instruments (risk models) that estimate the probability of a binary outcome, rmda provides functions to estimate and display decision curves and other figures that help assess the population impact of using a risk model for clinical decision making. Here, "population" refers to the relevant patient population. Decision curves display estimates of the (standardized) net benefit over a range of probability thresholds used to categorize observations as 'high risk'. The curves help evaluate a treatment policy that recommends treatment for patients who are estimated to be 'high risk' by comparing the population impact of a risk-based policy to "treat all" and "treat none" intervention policies. Curves can be estimated using data from a prospective cohort. In addition, rmda can estimate decision curves using data from a case-control study if an estimate of the population outcome prevalence is available. Version 1.4 of the package provides an alternative framing of the decision problem for situations where treatment is the standard-of-care and a risk model might be used to recommend that low-risk patients (i.e., patients below some risk threshold) opt out of treatment. Confidence intervals calculated using the bootstrap can be computed and displayed. A wrapper function to calculate cross-validated curves using k-fold cross-validation is also provided.
Install
Health
CRAN check results are not tracked yet.
- NOTE11 OK, 2 NOTE2026-05-02
- ERROR9 OK, 2 NOTE, 1 ERROR2026-04-25
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 10includes a package overview page
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 83%
- Documented parameters
- 89%
- Return-value docs
- 50%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- archivedRemoved from CRAN2026-05-04email to the maintainer is undeliverable
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 1.62018-07-17 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.52018-03-21 · diff ↗
- 1.42017-08-01
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2017-08-01
- Total releases
- 3 / 9 yrs
- License
- GPL-2 OSI
- Bundled data
- 16 KB / 2 files
- Download size
- 45 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rmda")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.