Causal Inference and Prediction in Cohort-Based Analyses

We propose 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 (Le Borgne, 2016, ), competing events (Trebern-Launay, 2018, ), and multi-state data (Gillaizeau, 2018, ). For multistate data, semi-Markov model with interval censoring (Foucher, 2008, ) may be considered and we propose the possibility to consider the excess of mortality related to the disease compared to reference lifetime tables (Gillaizeau, 2017, ). 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 (Le Borgne, 2018, ). Finally, several functions are available to assess time-dependent ROC curves (Combescure, 2017, ) or survival curves (Combescure, 2014, ) from aggregated data.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.9 by Yohann Foucher, 8 days ago

Browse source code at

Authors: Yohann Foucher [aut, cre] , Florent Le Borgne [aut] , Etienne Dantan [aut] , Florence Gillaizeau [aut] , Arthur Chatton [aut] , Christophe Combescure [aut]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports date, graphics, nlme, MASS, mvtnorm, statmod, parallel, doParallel, foreach, nnet, kernlab, glmnet, caret, SuperLearner

Depends on splines, survival, relsurv

Suggested by hrIPW.

See at CRAN