An R package for building patient level predictive models using data in Common Data Model format.
- Takes a cohort and outcome of interest as input.
- Extracts the necessary data from a database in OMOP Common Data Model format.
- Uses a large set of covariates including for example all drugs, diagnoses, procedures, as well as age, comorbidity indexes, etc.
- Large scale regularized regression to fit the predictive models.
- Includes function for evaluating predictive models
- Supported outcome models are logistic, Poisson, and survival (time to event).
Calibration plot | ROC plot |
PatientLevelPrediction is an R package, with some functions implemented in C++.
Requires R (version 3.1.0 or higher). Installation on Windows requires RTools. Libraries used in PatientLevelPrediction require Java.
- Cyclops
- DatabaseConnector
- SqlRender
- On Windows, make sure RTools is installed.
- The DatabaseConnector and SqlRender packages require Java. Java can be downloaded from http://www.java.com.
- In R, use the following commands to download and install PatientLevelPrediction:
install.packages("devtools")
library(devtools)
install_github("ohdsi/SqlRender")
install_github("ohdsi/DatabaseConnector")
install_github("ohdsi/Cyclops")
install_github("ohdsi/PatientLevelPrediction")
- Vignette: Building patient-level predictive models
- Package manual: PatientLevelPrediction.pdf
- Developer questions/comments/feedback: OHDSI Forum
- We use the GitHub issue tracker for all bugs/issues/enhancements
PatientLevelPrediction is licensed under Apache License 2.0
PatientLevelPrediction is being developed in R Studio.
###Development status Beta
- This project is supported in part through the National Science Foundation grant IIS 1251151.