Subsidiary function to determine appropriate output and calculate confidence intervals
decideOutput(para.df,noInteraction = TRUE,
sigLevel = 0.05,boots = 1000)a data frame containing the final data to be analyzed, generated using checkData().
logical. If TRUE (the default), the assumption of no interaction between the treatments and mediator is employed in the analysis.
significance level to use in construction of confidence intervals. Default is 0.05 (i.e. 95 percent confidence intervals).
number of bootstrap resamples taken for construction of confidence intervals.
A list containing confidence intervals along with flags indicating the appropriate output to return to getCCM().
Bansak, K. (2020). Comparative causal mediation and relaxing the assumption of no mediator-outcome confounding: An application to international law and audience costs. Political Analysis, 28(2), 222-243.