Functions for performing comparative cohort studies in an observational database in the Observational Medical Outcomes Partnership (OMOP) Common Data Model. Can extract all necessary data from a database. This implements large-scale propensity scores (LSPS) as described in Tian et al. (2018) <doi:10.1093/ije/dyy120>, using a large set of covariates, including for example all drugs, diagnoses, procedures, as well as age, comorbidity indexes, etc. Large scale regularized regression is used to fit the propensity and outcome models as described in Suchard et al. (2013) <doi:10.1145/2414416.2414791>. Functions are included for trimming, stratifying, (variable and fixed ratio) matching and weighting by propensity scores, as well as diagnostic functions, such as propensity score distribution plots and plots showing covariate balance before and after matching and/or trimming. Supported outcome models are (conditional) logistic regression, (conditional) Poisson regression, and (stratified) Cox regression. Also included are Kaplan-Meier plots that can adjust for the stratification or matching.
| Version: | 6.0.1 |
| Depends: | R (≥ 4.1.0), DatabaseConnector (≥ 6.0.0), Cyclops (≥ 3.6.0), FeatureExtraction (≥ 3.0.0), Andromeda (≥ 0.6.3) |
| Imports: | methods, utils, ggplot2, gridExtra, grid, readr, plyr, dplyr, rlang, Rcpp (≥ 0.11.2), SqlRender (≥ 1.18.0), survival, ParallelLogger (≥ 3.4.2), checkmate, EmpiricalCalibration, jsonlite, R6, digest |
| LinkingTo: | Rcpp |
| Suggests: | testthat, pROC, knitr, rmarkdown, Eunomia, zip, withr, R.utils, RSQLite, ResultModelManager, markdown, PSweight |
| Published: | 2026-03-21 |
| DOI: | 10.32614/CRAN.package.CohortMethod (may not be active yet) |
| Author: | Martijn Schuemie [aut, cre], Marc Suchard [aut], Patrick Ryan [aut] |
| Maintainer: | Martijn Schuemie <schuemie at ohdsi.org> |
| BugReports: | https://github.com/OHDSI/CohortMethod/issues |
| License: | Apache License 2.0 |
| URL: | https://ohdsi.github.io/CohortMethod/, https://github.com/OHDSI/CohortMethod |
| NeedsCompilation: | yes |
| SystemRequirements: | Java |
| Citation: | CohortMethod citation info |
| Materials: | README, NEWS |
| CRAN checks: | CohortMethod results |
| Reference manual: | CohortMethod.html , CohortMethod.pdf |
| Vignettes: |
Multiple analyses using CohortMethod (source, R code) Results schema (source, R code) Single studies using CohortMethod (source, R code) |
| Package source: | CohortMethod_6.0.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): CohortMethod_6.0.1.tgz, r-release (x86_64): CohortMethod_6.0.1.tgz, r-oldrel (x86_64): CohortMethod_6.0.1.tgz |
Please use the canonical form https://CRAN.R-project.org/package=CohortMethod to link to this page.