Skip to content

EmpiricalCalibration

3.1.4Package record

Routines for Performing Empirical Calibration of Observational Study Estimates

6packages depend
11.4Kdownloads / year
84.6%test coverage
13/13flavors OK

Overview

About

Routines for performing empirical calibration of observational study estimates. By using a set of negative control hypotheses we can estimate the empirical null distribution of a particular observational study setup. This empirical null distribution can be used to compute a calibrated p-value, which reflects the probability of observing an estimated effect size when the null hypothesis is true taking both random and systematic error into account. A similar approach can be used to calibrate confidence intervals, using both negative and positive controls. For more details, see Schuemie et al. (2013) doi:10.1002/sim.5925 and Schuemie et al. (2018) doi:10.1073/pnas.1708282114.

Changes in 3.1.4

Changes

1. Removing extreme estimates (relative risk < 0.01 or relative risk > 100) before fitting null distribution.

Bugfixes

1. Changed initial parameter values when fitting null distribution using asymptotics and MCMC, avoid errors in some edge cases.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 9.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • ERROR13 OK, 1 ERROR2026-03-30
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.1.4
READMEYes · 380 wordsVignettesYes · 3 · dynamicNEWSYes · 0% structured · mentions 3.1.4Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
34 (1 internal)includes a package overview page
Examples that run
82%23 run in a plain check · 5 never run
Exported functions with examples
100%
Documented parameters
99%
Return-value docs
93%
Help pages citing references
21%

Downloads

11.4K
CRAN downloads in the past year
Rank #3,700 · ~31/day · ~953/mo
Daily download trend is not available in this view yet.
97630 days
2.7K90 days
11.4K1 year
Compare downloads with other packages →
Also on479 r2u5 autocran85 c2d4u

Repository

10Stars
9Forks
3Open issues
0Open PRs
7Releases
270Commits
12Commit identities
hades
270 commits · Last activity 2025-02-14
Responsiveness
How these are sampled
PRs merged (all time)
80%
Median days to close, 50 most recently updated closed issues
90
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2023-03-08 · 102026-07-07 · 10
PracticesBeta

9 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/ohdsi/empiricalcalibration on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Governance and community (1)
PR template
Docs source (2)
pkgdown

GitHub Pages site last deployed 2025-02-14

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing EmpiricalCalibration adds 19 packages (8 with compiled code, 16 MB of source tarballs). Heaviest: ggplot2 6.0 MB, Rcpp 1.8 MB, isoband 1.5 MB.

Depends (1)
R >= 3.5.0
Imports (5)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
6direct
0indirect
Imports 6
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.1.0 (2016)
Releases (15)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 3.1.4Latest
    record
    2025-02-14 · current release · diff ↗
  • 3.1.3
    record
    2024-09-30 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 3.1.2
    record
    2023-12-21 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.1.1
    record
    2022-08-09 · diff ↗
  • 3.1.0
    record
    2022-07-01 · diff ↗ ·
    added 2 exports
    compareEase, computeCvPoissonRegression
  • R
    R 4.2.0 released · 2022-04-22
  • 3.0.0
    record
    2021-09-28 · diff ↗ ·
    added 5 exports
    calibrateLlr, computeCvBinomial, computeCvPoisson, fitNullNonNormalLl, simulateMaxSprtData
  • R
    R 4.1.0 released · 2021-05-18
  • 2.1.0
    record
    2021-03-04 · diff ↗ ·
    added 1 export
    computeExpectedAbsoluteSystematicError
  • R
    R 4.0.0 released · 2020-04-24
  • 2.0.2
    record
    2020-04-07 · diff ↗
  • 2.0.1
    record
    2020-01-13 · diff ↗
Show 11 earlier eventsHide 11 earlier events
  • 2.0.0
    record
    2019-07-08 · diff ↗ ·
    added 1 export
    convertNullToErrorModel
  • R
    R 3.6.0 released · 2019-04-26
  • 1.4.0
    record
    2018-11-24 · diff ↗ ·
    added 1 export
    plotCiCalibrationEffect
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3.6
    record
    2017-11-07 · diff ↗ ·
    added 1 export
    plotExpectedType1Error
  • 1.3.1
    record
    2017-05-16 · diff ↗ ·
    added 4 exports
    computeTraditionalCi, evaluateCiCalibration, plotCiCoverage, plotErrorModel
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2.0
    record
    2016-08-16 · diff ↗ ·
    removed 1 export
    plotCoverage
    added 1 export
    plotCiCalibration
  • R
    R 3.3.0 released · 2016-05-03
  • 1.1.0
    record
    2016-02-15
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-02-15
Total releases
15 / 10 yrs
License
Apache License 2.0 OSI
Minimum R
≥ 3.5.0
Bundled data
13 KB / 5 files
Download size
1.4 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("EmpiricalCalibration")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1002/sim.5925, 10.1073/pnas.1708282114.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for EmpiricalCalibration version 3.1.4 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy