For fitted models, this command carries out sensitivity analysis for a number of models, when their parameters stored in a data.frame.
mkonfound(d, t, df, alpha = 0.05, tails = 2, return_plot = FALSE)
data.frame or tibble with the t-statistics and associated degrees of freedom
t-statistic or vector of t-statistics
degrees of freedom or vector of degrees of freedom associated with the t-statistics in the t argument
probability of rejecting the null hypothesis (defaults to 0.05)
integer whether hypothesis testing is one-tailed (1) or two-tailed (2; defaults to 2)
whether to return a plot of the percent bias; defaults to FALSE
prints the bias and the number of cases that would have to be replaced with cases for which there is no effect to invalidate the inference for each of the cases in the data.frame
if (FALSE) {
mkonfound_ex
str(d)
mkonfound(mkonfound_ex, t, df)
}