CRAN/E | konfound

konfound

Quantify the Robustness of Causal Inferences

Installation

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., treatment) and outcome to invalidate an inference of a treatment effect". Or "one would have to replace pp percent of the observed data with null hypothesis cases 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.

github.com/konfound-project/konfound
Bug report File report

Key Metrics

Version 0.5.0
R ≥ 2.10
Published 2024-03-18 32 days ago
Needs compilation? no
License MIT
License File
CRAN checks konfound results

Downloads

Yesterday 14
Last 7 days 110 -53%
Last 30 days 834 +3%
Last 90 days 2.611 +45%
Last 365 days 8.367 +8%

Maintainer

Maintainer

Joshua M Rosenberg

jmrosen48@gmail.com

Authors

Joshua M Rosenberg

aut / cre

Ran Xu

ctb

Qinyun Lin

ctb

Spiro Maroulis

ctb

Sarah Narvaiz

ctb

Kenneth A Frank

ctb

Wei Wang

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

Introduction to konfound

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

konfound archive

Depends

R ≥ 2.10

Imports

broom
broom.mixed
crayon
dplyr
ggplot2
lavaan
purrr
rlang
tidyr
lme4 ≥ 1.1-35.1
margins
tibble
ggrepel
pbkrtest

Suggests

covr
devtools
forcats
knitr
rmarkdown
mice
roxygen2
testthat
Matrix ≥ 1.6-2