Skip to content

konfound

1.0.3Package record

Quantify the Robustness of Causal Inferences

0packages dependsuggested by 3
11.8Kdownloads / year
75.3%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.3
  • 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

CRAN checks
13OK
Slowest check: 4.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0.3
READMEYes · 426 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.3Citation fileNoWebsiteYes · pkgdown
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

11.8K
CRAN downloads in the past year
Rank #3,574 · ~32/day · ~981/mo
Daily download trend is not available in this view yet.
1.6K30 days
2.9K90 days
11.8K1 year
Compare downloads with other packages →
Also on77 r2u13 autocran

Repository

18Stars
10Forks
10Open issues
2Open PRs
2Releases
1,017Commits
15Commit identities
1,017 commits · Last activity 2026-08-06 · Default branch at 1.0.4, ahead of CRAN 1.0.3 (checked 2026-10-11)
Responsiveness
How these are sampled
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

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

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.

Continuous integration (3)
GitHub ActionsR CMD check workflowTravis CI (config file)

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

Governance and community (2)
Code of conductContributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-06 · The repository has a site deploy workflow

pkgdown site last built 2026-08-06

Coverage (1)
Coverage reporting (Codecov)
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 v3 (2026-09-26)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 3
Suggests, most downloaded first

Datasets

People & History

People (12)
Author, Maintainer since 0.1.0 (2018)
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 contributorsHide 3 contributors
Contributor · added in 0.5.0
Contributor
Contributor · added in 1.0.1
Listed in earlier versions (2)
Kenneth A
no longer listed · 0.1.0 to 1.0.3
Joshua M
no longer listed · 0.1.0 to 1.0.3
Releases (12)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.3Latest
    record
    2025-05-28 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.2
    record
    2024-10-17 · diff ↗
  • 1.0.1
    record
    2024-10-08 · diff ↗ ·
    added 1 export
    tkonfound_fig
  • R
    R 4.4.0 released · 2024-04-24
  • unarchivedReturned to CRAN
    2024-04-12
  • archivedRemoved from CRAN
    2024-04-12
    requires archived package 'margins'
  • 0.5.1
    record
    2024-04-12 · diff ↗
  • 0.5.0
    record
    2024-03-18 · diff ↗ ·
    removed 1 export
    launch_shiny
    added 1 export
    tkonfound
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • unarchivedReturned to CRAN
    2021-06-01
  • 0.4.0
    record
    2021-06-01 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • archivedRemoved from CRAN
    2021-01-16
    policy violation On Internet access
Show 12 earlier eventsHide 12 earlier events
  • 0.3.0
    record
    2020-12-17 · diff ↗ ·
    removed 3 exports
    getswitch_chisq, tkonfound, tkonfound_fig
  • unarchivedReturned to CRAN
    2020-08-18
  • 0.2.2
    record
    2020-08-18 · diff ↗ ·
    added 3 exports
    getswitch_chisq, tkonfound, tkonfound_fig
  • 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
    record
    2020-02-26 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.2
    record
    2019-04-12 · diff ↗
  • 0.1.1
    record
    2019-01-21 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.0
    record
    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

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 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.

APA

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

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.

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