CRAN

konfound 0.1.2

Quantify the Robustness of Causal Inferences

Released Apr 12, 2019 by Joshua M Rosenberg

This package cannot yet be used with Renjin it depends on other packages which are not available: margins 0.3.23, tidyr 0.8.3, dplyr 0.8.0.1, rlang 0.3.4, purrr 0.3.2, ggplot2 3.1.1, and broom 0.5.2

Dependencies

tidyr 0.8.3 ggplot2 3.1.1 dplyr 0.8.0.1 rlang 0.3.4 broom 0.5.2 purrr 0.3.2 margins 0.3.23 pbkrtest 0.4-7

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) and Frank et al. (2013) 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.

Source

R

View GitHub Mirror

Release History