SEMinR - Quick Guide - Mediation Analysis using SEMinR in R
Based on Research With Fawad's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.
Bootstrapping is used to test mediation significance by evaluating indirect effects and their confidence intervals.
Briefing
The mediation test hinges on one practical question: does collaborative culture carry the effect of vision onto organizational performance? After bootstrapping the SEMinR model, the indirect pathway from Vision to organizational performance through the mediator (collaborative culture) comes out significant—its estimate is 0.165, with results indicating it exceeds the 1.96 threshold and the confidence interval does not include zero. That combination is the statistical green light for mediation in this setup.
With the indirect effect confirmed, the analysis turns to whether the mediation is partial or full. That depends on the direct effect from Vision to organizational performance: if the direct path remains significant alongside the indirect path, mediation is partial; if the direct path is insignificant, mediation is complete (often called full mediation). Running the bootstrap results for the direct path shows Vision → organizational performance is significant as well, with a t statistic reported as significant and a bootstrap interval that again does not span zero.
Taken together, both pathways—(1) the indirect effect through collaborative culture and (2) the direct effect from Vision to organizational performance—are significant. The conclusion is therefore partial mediation: collaborative culture explains part of how vision translates into performance, but vision also has a remaining direct influence on organizational performance that is not fully absorbed by the mediator.
Methodologically, the workflow is straightforward and repeatable. First, the model is estimated in SEMinR with a measurement model and a structural model that includes three core links: Vision → collaborative culture (the IV-to-mediator path), collaborative culture → organizational performance (the mediator-to-DV path), and Vision → organizational performance (the direct effect). Next, the estimated model is bootstrapped (using a summary object for the bootstrap output) with iteration limits kept under 300. The bootstrap output is then queried for total indirect effects and, when needed, specific indirect effects. In this illustration, there is only one mediator, so total indirect effects and specific indirect effects coincide; the significance check is performed by verifying that the indirect effect is greater than 1.96 and that zero is not contained in the interval.
The key takeaway is that mediation analysis in SEMinR is less about running a single test and more about reading two layers of bootstrap evidence: significance of the indirect effect establishes that the mediator matters, while significance (or not) of the direct effect determines whether the mediator fully accounts for the relationship or only partially does so.
Cornell Notes
The analysis tests whether collaborative culture mediates the relationship between Vision and organizational performance. After estimating the SEMinR model and bootstrapping it, the indirect effect from Vision to organizational performance through collaborative culture is significant: the estimate is 0.165, it exceeds the 1.96 benchmark, and the confidence interval does not include zero. The next step checks the direct effect Vision → organizational performance using bootstrap results. Because the direct effect is also significant (interval excludes zero), the mediation is classified as partial rather than full. This workflow relies on bootstrapped significance for both indirect and direct paths, with total indirect effects sufficient here because there is only one mediator.
How does the bootstrap output determine whether the indirect effect is significant in this mediation model?
Why do total indirect effects and specific indirect effects match when there is only one mediator?
What rule distinguishes partial mediation from full mediation?
How is the direct effect significance used to classify the mediation outcome here?
What structural paths must be included in the SEMinR model for this mediation test?
Review Questions
- In this example, what two bootstrap checks are required to label mediation as partial versus full?
- If the model had multiple mediators, what additional quantities would need to be examined beyond total indirect effects?
- Why does the confidence interval including or excluding zero matter for both indirect and direct effects?
Key Points
- 1
Bootstrapping is used to test mediation significance by evaluating indirect effects and their confidence intervals.
- 2
The indirect effect from Vision to organizational performance through collaborative culture is significant (estimate 0.165; exceeds 1.96; interval excludes zero).
- 3
Mediation classification depends on whether the direct effect Vision → organizational performance is significant after accounting for the mediator.
- 4
Because the direct effect is also significant (interval excludes zero; t statistic significant), the result is partial mediation.
- 5
With only one mediator, total indirect effects and specific indirect effects are effectively the same; multiple mediators would require specific indirect effects.
- 6
The SEMinR mediation workflow follows a repeatable sequence: estimate the SEM model, summarize results, bootstrap the estimated model, then read indirect and direct effects from the bootstrap summary objects.