konfound: Quantify the Robustness of Causal Inferences

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.

Version: 1.0.2
Depends: R (≥ 3.5.0)
Imports: broom, broom.mixed, crayon, dplyr, ggplot2, lavaan, purrr, rlang, tidyr, lme4 (≥ 1.1-35.1), tibble, ggrepel, pbkrtest
Suggests: covr, devtools, forcats, knitr, rmarkdown, mice, roxygen2, testthat, Matrix (≥ 1.6-2)
Published: 2024-10-17
DOI: 10.32614/CRAN.package.konfound
Author: Joshua M Rosenberg [aut, cre], Ran Xu [ctb], Qinyun Lin [ctb], Spiro Maroulis [ctb], Sarah Narvaiz [ctb], Kenneth A Frank [ctb], Wei Wang [ctb], Yunhe Cui [ctb], Gaofei Zhang [ctb], Xuesen Cheng [ctb], JiHoon Choi [ctb], Guan Saw [ctb]
Maintainer: Joshua M Rosenberg <jmrosen48 at gmail.com>
BugReports: https://github.com/konfound-project/konfound/issues
License: MIT + file LICENSE
URL: https://github.com/konfound-project/konfound, https://konfound-it.org/konfound/
NeedsCompilation: no
Materials: README NEWS
CRAN checks: konfound results

Documentation:

Reference manual: konfound.pdf
Vignettes: Introduction to konfound (source, R code)

Downloads:

Package source: konfound_1.0.2.tar.gz
Windows binaries: r-devel: konfound_1.0.2.zip, r-release: konfound_1.0.2.zip, r-oldrel: konfound_1.0.2.zip
macOS binaries: r-release (arm64): konfound_1.0.2.tgz, r-oldrel (arm64): konfound_1.0.2.tgz, r-release (x86_64): konfound_1.0.2.tgz, r-oldrel (x86_64): konfound_1.0.2.tgz
Old sources: konfound archive

Linking:

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