doomlab / MeMoBootR

A package for mediation, moderation, and bootstrapped indirect effects
MIT License
21 stars 7 forks source link
mediation moderation regression statistics

MeMoBootR

This package is in (ok fine somewhat) active development. I am working on updating as I go through the different models involved in mediation and moderation. You can check out videos / updates on my YouTube channel, as well as watching or starring the github repo.

To install the package take the following steps:

1) Install devtools if you do not have it. devtools is a package that allows you to install packages from github. install.packages("devtools")

2) Install the MeMoBootR package by running the following: devtools::install_github("doomlab/MeMoBootR")

3) Load the library to get started! library(MeMoBootR)

4) Enjoy mediation and moderation complete with data screening.

5) Cite the package! Buchanan, E.M. (2018). MeMoBootR [Computer Program]. Avaliable at: https://github.com/doomlab/MeMoBootR.

More tutorials, details, and other information added as I go.

Many thanks to KD Valentine for the fantastic name suggestion.

Table of Possibilities

PROCESS MeMoBootR Label Categorical X Categorical M
Model 1 moderation1() Two-way moderation No Yes
Model 2 moderation2() Double Two-way moderation No Yes
Model 4 mediation1() Simple mediation Yes No
Model 6 mediation2() Serial mediation Yes No
Model 6-7 Hybrid mediation2_moda() Serial Mediation with Moderator on A Yes No for mediators/moderators

Examples

Head over to the OSF Page to view examples of the function in action. Included on the OSF page are youtube videos that explain the different functions and examples. Additionally, you can find information about the translation of the model numbers from PROCESSv3 to MeMoBootR.

Version Information

Version: 0.0.0.7000

Version: 0.0.0.6001

Version: 0.0.0.6000

Version: 0.0.0.5000

Version: 0.0.0.4000

Version: 0.0.0.3000

Version: 0.0.0.2000

Version: 0.0.0.1000: