Learn R Programming

RISCA: an R Package for Causal Inference and Prediction in Cohort-Based Analyses

What is the ‘RISCA’ package?

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

Installation

Install the latest release from CRAN:

install.packages("RISCA")

Install the development version from GitHub:

remotes::install_github("foucher-y/RISCA")

Copy Link

Version

Install

install.packages('RISCA')

Monthly Downloads

545

Version

1.0.7

License

GPL (>= 2)

Maintainer

Yohann Foucher

Last Published

February 21st, 2025

Functions in RISCA (1.0.7)

dataCSL

CSL Liver Chirrosis Data.
gc.logistic

Marginal Effect for Binary Outcome by G-computation.
gc.sl.binary

Marginal Effect for Binary Outcome by Super Learned G-computation.
ipw.log.rank

Log-Rank Test for Adjusted Survival Curves.
dataKi67

The Aggregated Data Published By de Azambuja et al. (2007).
dataOFSEP

A Simulated Sample From the OFSEP Cohort.
expect.utility1

Cut-Off Estimation Of A Prognostic Marker (Only One Observed Group).
gc.survival

Marginal Effect for Censored Outcome by G-computation with a Cox Regression for the Outcome Model.
dataSTR

Data for Second Kidney Transplant Recipients.
expect.utility2

Cut-Off Estimation Of A Prognostic Marker (Two Groups Are observed).
fr.ratetable

Expected Mortality Rates of the General French Population
markov.3states

3-State Time-Inhomogeneous Markov Model
plot.survrisca

Plot Method for 'survrisca' Objects
ipw.survival

Adjusted Survival Curves by Using IPW.
lines.rocrisca

Add Lines to a ROC Plot
markov.4states.rsadd

4-state Relative Survival Markov Model with Additive Risks
markov.3states.rsadd

3-state Relative Survival Markov Model with Additive Risks
mixture.2states

Horizontal Mixture Model for Two Competing Events
lrs.multistate

Likelihood Ratio Statistic to Compare Embedded Multistate Models
plot.rocrisca

Plot Method for 'rocrisca' Objects
markov.4states

4-State Time-Inhomogeneous Markov Model
port

POsitivity-Regression Tree (PoRT) Algorithm to Identify Positivity Violations.
rmst

Restricted Mean Survival Times.
pred.mixture.2states

Cumulative Incidence Function Form Horizontal Mixture Model With Two Competing Events
roc.summary

Summary ROC Curve For Aggregated Data.
roc.binary

ROC Curves For Binary Outcomes.
roc.prognostic.individual

Prognostic ROC Curve based on Individual Data
roc.time

Time-Dependent ROC Curves With Right Censored Data.
roc.net

Net Time-Dependent ROC Curves With Right Censored Data.
roc.prognostic.aggregate

Prognostic ROC Curve Based on Survival Probabilities
semi.markov.3states

3-State Semi-Markov Model
survival.summary

Summary Survival Curve From Aggregated Data
survival.summary.strata

Summary Survival Curve And Comparison Between Strata.
semi.markov.3states.rsadd

3-State Relative Survival Semi-Markov Model With Additive Risks
survival.mr

Multiplicative-Regression Model to Compare the Risk Factors Between Two Reference and Relative Populations
semi.markov.3states.ic

3-State Semi-Markov Model With Interval-Censored Data
semi.markov.4states

4-State Semi-Markov Model
semi.markov.4states.rsadd

4-State Relative Survival Semi-Markov Model With Additive Risks
auc

Area Under ROC Curve From Sensitivities And Specificities.
dataFTR

Data for First Kidney Transplant Recipients.
dataDIVAT2

A Second Sample From the DIVAT Data Bank.
dataHepatology

The Data Extracted From The Meta-Analysis By Cabibbo et al. (2010).
dataDIVAT5

The Aggregated Kidney Graft Survival Stratified By The 1-year Serum Creatinine.
dataKTFS

A Sixth Sample Of The DIVAT Cohort.
dataDIVAT4

A Fourth Sample From the DIVAT Data Bank.
dataDIVAT3

A Third Sample From the DIVAT Data Bank.
dataDIVAT1

A First Sample From The DIVAT Data Bank.