and SPSS AMOS version 26.0.43
Mediation analysis is an important statistical tool for gaining insight into the mechanisms of exposure-outcome effects. Mediation analysis decomposes the total exposure-outcome effect into direct and indirect effects through a mediator variable. It can be used to investigate a variable as a mediator (M) of the relationship between a predictor (X) and a criterion variable (Y). Moderated mediation tests the influence of a fourth (or more) variable on the mediated relationship between X and Y. Another variable moderates the effect of the mediator.