Skip to content

konfound

1.0.3

Quantify the Robustness of Causal Inferences

2packages depend
11.2Kdownloads / year
75.3%test coverage
13/13checks pass

Overview

About
Maintained by Joshua M RosenbergFirst published 2018-04-0612 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 4.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.19
75.3%
Coverage · measured lines
100%
Documentation · exports
14
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 426 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
75%
Documented parameters
100%
Return-value docs
80%
References docs
4%

Downloads

11.2K
CRAN downloads in the past year
Rank #3,435 · ~31/day · ~930/mo
Daily download trend is not available in this view yet.
32030 days
3K90 days
11.2K1 year
Compare downloads with other packages →
Also on106 r2u27 autocran

Repository

Repository
18Stars
10Forks
10Open issues
2Open PRs
2Releases
1,017Commits
15Contributors
1,017 commits · Last activity 2026-08-19

Stars over time

2025-06-10 · 182026-07-07 · 18

Repository practices

Upstream repositoryBeta

7 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/konfound-project/konfound on 2026-08-16.

Continuous integration (2)
GitHub ActionsTravis CI
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

Datasets

People & History

People (12)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (11)
Contributor · added in 1.0.1
Contributor · added in 1.0.1
Contributor · added in 1.0.1
Contributor
Contributor · added in 0.2.1
Contributor · added in 0.3.0
Contributor · added in 0.5.0
Contributor · added in 1.0.1
Show 3 more contributors
Contributor · added in 0.5.0
Contributor
Contributor · added in 1.0.1
Listed in earlier versions (2)
no longer listed · 0.1.0 to 1.0.3
no longer listed · 0.1.0 to 1.0.3
Package Timeline

12 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.3Latest
    2025-05-28 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.2
    2024-10-17 · diff ↗
  • 1.0.1
    2024-10-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.5.1
    2024-04-12 · diff ↗
  • unarchivedReturned to CRAN
    2024-04-12
  • archivedRemoved from CRAN
    2024-04-12
    requires archived package 'margins'
  • 0.5.0
    2024-03-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    2021-06-01 · diff ↗
  • unarchivedReturned to CRAN
    2021-06-01
  • R
    R 4.1.0 released · 2021-05-18
  • archivedRemoved from CRAN
    2021-01-16
    policy violation On Internet access
Show 12 earlier events
  • 0.3.0
    2020-12-17 · diff ↗
  • 0.2.2
    2020-08-18 · diff ↗
  • unarchivedReturned to CRAN
    2020-08-18
  • archivedRemoved from CRAN
    2020-07-25
    check problems were not corrected in time
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2.1
    2020-02-26 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.2
    2019-04-12 · diff ↗
  • 0.1.1
    2019-01-21 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.0
    2018-04-06
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("konfound")
Rosenberg, J. M., Cheng, X., Choi, J., Cui, Y., Frank, K. A., Lin, Q., Maroulis, S., Narvaiz, S., Saw, G., Wang, W., Xu, R., & Zhang, G. (2025). konfound: Quantify the Robustness of Causal Inferences (Version 1.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.konfound

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 konfound version 1.0.3 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, 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