checkInteraction: Subsidiary Function for Comparative Causal Mediation Analysis
Description
Subsidiary function to assess interactions between treatments and mediator
Usage
checkInteraction(para.df,sigLevel = 0.05)
Arguments
para.df
a data frame containing the final data to be analyzed, generated using checkData().
sigLevel
significance level used to conduct hypothesis tests.
Value
logical. 1 if there is evidence of interaction between treatment(s) and mediator.
References
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.