Bootstrapping Mediation Analysis in R from Scratch
This tutorial explains how to write code for boostrapping mediation analysis in R from scratch. Mediation analysis is often used in academic research to understand the underlying mechanism. Often, you also need to report a bootstrapping confidence interval for the indirect effect. Steps of Bootstrapping Mediation Analysis in R The following shows the steps. (1) … Read more