Hello! I am conducting a causal mediation analysis in which treatment --> mediator --> outcome. My treatment variable is actually a i.x##c.t interaction variable. I have used gsem to conduct the mediation analysis. However, I am unsure how to execute the sensitivity analysis. Neither medsens nor sensemakr will allow for an interacted independent variable. How should I proceed? I have also tried generating the interactions by hand, but once again, medsens will not allow for multiple treatment variables.
Thank you in advance for answering my query.
Thank you in advance for answering my query.