Quantify the Robustness of Causal Inferences
Overview
Statistical methods that quantify the conditions necessary to alter inferences, also known as sensitivity analysis, are becoming increasingly important to a variety of quantitative sciences. A series of recent works, including Frank (2000) doi:10.1177/0049124100029002001 and Frank et al. (2013) doi:10.3102/0162373713493129 extend previous sensitivity analyses by considering the characteristics of omitted variables or unobserved cases that would change an inference if such variables or cases were observed. These analyses generate statements such as "an omitted variable would have to be correlated at xx with the predictor of interest (e.g., the treatment) and outcome to invalidate an inference of a treatment effect". Or "one would have to replace pp percent of the observed data with nor which the treatment had no effect to invalidate the inference". We implement these recent developments of sensitivity analysis and provide modules to calculate these two robustness indices and generate such statements in R. In particular, the functions konfound(), pkonfound() and mkonfound() allow users to calculate the robustness of inferences for a user's own model, a single published study and multiple studies respectively.
- fix sign problems in print output for some cases
- separate out conditional RIR from COP
- add the ability to enter a confidence interval instead of an estimated effect
- add calculation code and print output for RIR/ITCV benchmark (pkonfound)
- add impact table for konfound
- update help file for pkonfound
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 26
- Examples that run
- 75%3 run in a plain check · 1 never run
- Exported functions with examples
- 80%
- Documented parameters
- 100%
- Return-value docs
- 80%
- Help pages citing references
- 4%
Downloads
Repository
- PRs merged (all time)
- 85%
- Median days to close, 50 most recently updated closed issues
- 79
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
13 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/konfound-project/konfound on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-08-06 · The repository has a site deploy workflow
pkgdown site last built 2026-08-06
Show all practicesHide 2 practices
Dependencies
Installing konfound adds 69 packages (36 with compiled code, 61 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, broom.mixed 4.9 MB.
Code & Tests
Datasets
People & History
Show 3 more contributorsHide 3 contributors
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.3Latest
- RR 4.5.0 released · 2025-04-11
- 1.0.22024-10-17 · diff ↗
- 1.0.1
- RR 4.4.0 released · 2024-04-24
- unarchivedReturned to CRAN2024-04-12
- archivedRemoved from CRAN2024-04-12requires archived package 'margins'
- 0.5.12024-04-12 · diff ↗
- 0.5.0
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2021-06-01
- 0.4.02021-06-01 · diff ↗
- RR 4.1.0 released · 2021-05-18
- archivedRemoved from CRAN2021-01-16policy violation On Internet access
Show 12 earlier eventsHide 12 earlier events
- 0.3.0
- unarchivedReturned to CRAN2020-08-18
- 0.2.2
- archivedRemoved from CRAN2020-07-25check problems were not corrected in time
- RR 4.0.0 released · 2020-04-24
- 0.2.12020-02-26 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 0.1.22019-04-12 · diff ↗
- 0.1.12019-01-21 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.1.02018-04-06
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-04-06
- Total releases
- 12 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 6.1 KB / 3 files
- Download size
- 104 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("konfound")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.