This post should be considered as an addendum to this previous one that discussed causal mediation analysis with a single mediator. That post ended with the argument that causal evidence could be found that procedural justice indeed mediated the effect of the treatment (previous experiences with the police) towards the outcome (normative alignment with the police). This post will discuss two sensitivity analysis techniques which assess this finding’s robustness to unmeasured confounding. Continue reading “ScotCET and sensitivity analysis for causal mediation analysis with a single mediator”
This post finishes the discussion of two other ones (this and this) by providing an example how to carry out causal mediation analysis with a single mediator in R. The “mediation” package is utilised, for a full description of the package’s capabilities, you can refer to Tingley et al. (2014). For STATA users out there, there is a “paramed” package in STATA which should also produce the same results (within rounding error). A note of caution though: the “paramed” package can only be used with linear mediators and outcomes, and with binary logit models with rare outcomes (see: VanderWeele 2016). The dataset for the analysis can be downloaded from the bottom of the page. Continue reading “ScotCET and causal mediation analysis with a single mediator 3. – A demonstration in R”
This final post finishes the discussion of the previous three (you can find them here, here, and here) by looking at treatment effect heterogeneity and design heterogeneity.
Continue reading “Scotcet and implementation failure 4. – Treatment effect and design heterogeneity with a demonstration in R”