I am trying to find a way to do a mediation analysis between a within-subjects IV and a DV.

I have found the Baron and Kenny approach and path analysis, but I am guessing both apply for a between-subjects design. I have also found a paper discussing a within-subject mediation analysis using R, but I was wondering whether there is a way to test this through SPSS.

Does anyone know whether this can happen? I am quite new at statistics so please explain as simple as possible..

Thank you!


1 Answer 1


Yes, you can. It is more complicated than a between-subject mediation analysis. This paper explains how to do it and provides an R package. I don't think there is any way to do this in SPSS or JASP.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.