Posts

A Shiny App for JS Mediation

A Shiny App for JS Mediation A Shiny App for JS Mediation CillianMacAodh (Cillian McHugh) 23 August 2019 (note this blog has moved to https://www.cillianmchugh.com/rblog/ ) Background This is a brief post about making my first Shiny App ( see also ). I made this app following a meeting of the Advancing Social Cognition lab (ASC-Lab) where we discussed this paper by Yzerbyt, Muller, Batailler, & Judd (2018) proposing a new method for mediation analysis. Any attempt to detail the differences in methods is well beyond the scope of a blog post. The take home message is that the method proposed by Yzerbyt et al. (2018) is less prone to Type I errors (or false positives) than the most commonly used methods (e.g., Hayes, 2017) . In addition to identifying a problem and proposing a solution, the authors also provide the tools to implement their solution with an R package (Batailler, Muller, Yzerbyt, & Jud