The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

SelfControlledCohort: Self-Controlled Cohort Population-Level Estimation

Estimates incidence rate ratios by comparing time exposed with time unexposed among an exposed cohort using self-controlled cohort methodology as described in Ryan et al. (2013) <doi:10.1002/pds.3457>. Functions used for empirical calibration of effect estimates, confidence intervals, and p-values are included to control for residual bias.

Version: 2.0.0
Depends: DatabaseConnector (≥ 5.0.0), R (≥ 4.1.0)
Imports: SqlRender (≥ 1.4.3), ParallelLogger, rateratio.test, checkmate, dplyr, EmpiricalCalibration, ResultModelManager, Andromeda, readr, rlang, cli, stats
Suggests: withr, testthat, knitr, rmarkdown, Eunomia, duckdb, DiagrammeR, tidyr, R.utils, jsonlite, DT, ggplot2, shiny, shinycssloaders, plotly, reactable, shinyWidgets
Published: 2026-06-17
DOI: 10.32614/CRAN.package.SelfControlledCohort
Author: Jamie Gilbert ORCID iD [cre, aut], Martijn Schuemie [aut], Patrick Ryan [aut], Observational Health Data Science and Informatics [cph]
Maintainer: Jamie Gilbert <gilbert at ohdsi.org>
BugReports: https://github.com/OHDSI/SelfControlledCohort/issues
License: Apache License 2.0
URL: https://github.com/OHDSI/SelfControlledCohort, https://ohdsi.github.io/SelfControlledCohort/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: SelfControlledCohort results

Documentation:

Reference manual: SelfControlledCohort.html , SelfControlledCohort.pdf
Vignettes: Study Diagnostics (source, R code)
Using SelfControlledCohort (source, R code)

Downloads:

Package source: SelfControlledCohort_2.0.0.tar.gz
Windows binaries: r-devel: SelfControlledCohort_2.0.0.zip, r-release: SelfControlledCohort_2.0.0.zip, r-oldrel: SelfControlledCohort_2.0.0.zip
macOS binaries: r-release (arm64): SelfControlledCohort_2.0.0.tgz, r-oldrel (arm64): SelfControlledCohort_2.0.0.tgz, r-release (x86_64): SelfControlledCohort_2.0.0.tgz, r-oldrel (x86_64): SelfControlledCohort_2.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=SelfControlledCohort to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.