konfound

Quantify the Robustness of Causal Inferences

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 773 times in the last 30 days. This could be a paper that people cite without reading. Reaching the medium popularity echelon is no small feat! The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 13 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 2, 2025
0 downloadsMar 3, 2025
80 downloadsMar 4, 2025
33 downloadsMar 5, 2025
6 downloadsMar 6, 2025
13 downloadsMar 7, 2025
65 downloadsMar 8, 2025
1 downloadsMar 9, 2025
15 downloadsMar 10, 2025
23 downloadsMar 11, 2025
8 downloadsMar 12, 2025
73 downloadsMar 13, 2025
5 downloadsMar 14, 2025
24 downloadsMar 15, 2025
1 downloadsMar 16, 2025
31 downloadsMar 17, 2025
41 downloadsMar 18, 2025
15 downloadsMar 19, 2025
13 downloadsMar 20, 2025
9 downloadsMar 21, 2025
15 downloadsMar 22, 2025
9 downloadsMar 23, 2025
72 downloadsMar 24, 2025
6 downloadsMar 25, 2025
10 downloadsMar 26, 2025
7 downloadsMar 27, 2025
94 downloadsMar 28, 2025
12 downloadsMar 29, 2025
4 downloadsMar 30, 2025
3 downloadsMar 31, 2025
72 downloadsApr 1, 2025
13 downloadsApr 2, 2025
0 downloadsApr 3, 2025
0 downloadsApr 4, 2025
0 downloadsApr 5, 2025
1
94

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 11,070 times in the last 365 days. The downloads are officially high enough to crash an underfunded departmental server. Quite an accomplishment! The day with the most downloads was Feb 20, 2025 with 97 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports13 packages
  • Suggests9 packages