Causal Inference and Prediction in Cohort-Based Analyses
Overview
Numerous functions for cohort-based analyses, either for prediction or causal inference. For causal inference, it includes Inverse Probability Weighting and G-computation for marginal estimation of an exposure effect when confounders are expected. We deal with binary outcomes, times-to-events, competing events, and multi-state data. For multistate data, semi-Markov model with interval censoring may be considered, and we propose the possibility to consider the excess of mortality related to the disease compared to reference lifetime tables. For predictive studies, we propose a set of functions to estimate time-dependent receiver operating characteristic (ROC) curves with the possible consideration of right-censoring times-to-events or the presence of confounders. Finally, several functions are available to assess time-dependent ROC curves or survival curves from aggregated data.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 47
- Examples that run
- 94%44 run in a plain check · 3 hold no code
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 94%
- Help pages citing references
- 87%
Downloads
Dependencies
Installing RISCA adds 175 packages (92 with compiled code, 143 MB of source tarballs). Heaviest: stringi 11 MB, TH.data 8.2 MB, ggformula 6.0 MB.
Code & Tests
Datasets
People & History
Show 6 peopleHide 6 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.0.7Latest
- 1.0.62025-01-20 · diff ↗
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2024-03-22
- 1.0.52024-03-22 · diff ↗ ·
removed 22 exports
differentiation, aft.gamma, aft.ggamma, aft.weibull, aft.llogis, ph.exponential, ph.gompertz, cox.lasso, cox.ridge, cox.en, cox.all, cox.aic, nn.time, rf.time, sl.time, metric, tune.cox.lasso, tune.cox.ridge, tune.cox.en, tune.cox.aic, tune.nn.time, tune.rf.time - archivedRemoved from CRAN2024-01-24requires archived package 'mosaicCalc'
- RR 4.3.0 released · 2023-04-21
- 1.0.42023-03-22 · diff ↗ ·
removed 4 exports
gc.sl.time, nnet.time, hr.sl.time, tune.nnet.timeadded 2 exports
nn.time, tune.nn.time - 1.0.32022-11-21 · diff ↗
- 1.0.12022-05-02 · diff ↗ ·
added 27 exports
gc.sl.time, aft.gamma, aft.ggamma, aft.weibull, aft.llogis, ph.exponential, ph.gompertz, cox.lasso, cox.ridge, cox.en, cox.all, cox.aic, nnet.time, rf.time, sl.time, hr.sl.time, metric, tune.cox.lasso, tune.cox.ridge, tune.cox.en, tune.cox.aic, tune.nnet.time, tune.rf.time, port, roc.prognostic.aggregate, roc.prognostic.individual, survival.mr - RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.92020-11-18 · diff ↗
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2019-08-05
- Total releases
- 10 / 7 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 446 KB / 13 files
- Download size
- 594 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RISCA")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-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.