medmod: Simple Mediation and Moderation Analysis

This toolbox allows you to do simple mediation and moderation analysis. Models are estimated with the 'lavaan' package by Rosseel (2012) <doi:10.18637/jss.v048.i02>; standard errors for the mediation estimates are computed with the delta method following Sobel (1982) <doi:10.2307/270723> or by bootstrapping. It is also available as a module for 'jamovi' (see <https://www.jamovi.org> for more information). You can find an in depth tutorial on the 'lavaan' model syntax used for this package on <https://lavaan.ugent.be/tutorial/index.html>.

Package details

AuthorRavi Selker [aut, cre]
MaintainerRavi Selker <selker.ravi@gmail.com>
LicenseGPL (>= 2)
Version1.2.0
URL https://github.com/raviselker/medmod 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("medmod")

Try the medmod package in your browser

Any scripts or data that you put into this service are public.

medmod documentation built on July 16, 2026, 9:07 a.m.