checkInteraction {ccmEstimator} | R Documentation |
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 |
sigLevel |
significance level used to conduct hypothesis tests. |
Value
logical. 1 if there is evidence of interaction between treatment(s) and mediator.
Note
This function is called internally and should not be used directly.
Author(s)
Kirk Bansak and Xiaohan Wu
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.
Examples
data(ICAapp)
final.dat <- checkData(Y = "dapprp", T1 = "trt1", T2 = "trt2", M = "immorp", data = ICAapp)
checkInteraction(final.dat,sigLevel = 0.05)
[Package ccmEstimator version 1.0.0 Index]