RePROCESS: PROCESS macro for R – Model 1

I have decided to write an R version of the PROCESS macro for mediation, moderation, and conditional process analysis, which is called RePROCESS.

I will regularly update the package as I add more models and post updates on this blog.

Unlike the SPSS macro, it generates the plots for you, and runs the analyses run at least four times faster! However, I’m not sure how computation time compares to the SAS version.

The development version of the package has now been released and allows you to run Model 1, which is for a single predictor and moderator variable.

Continue reading “RePROCESS: PROCESS macro for R – Model 1”

Moderation with a multicategorical moderating variable

UPDATE: Please see the following post for an all-in-one solution: RePROCESS Model 1

This post was was inspired by Nicholas Michalak’s Novum R-ganum blog posts on reproducing Hayes’ PROCESS Model 1 in R. He has two posts where he presents the R code for examining a continuous × continuous moderation and a dichotomous × continuous moderation.

However, a quick Google search suggests a paucity of information for conducting moderation analyses using a multicategorical moderating variables.

Therefore, this post will outline how to run the PROCESS Model 1 with a multicategorical moderator (M) in R. We will examine how to code the M variable,  simulate some data, run the PROCESS analyses in both SPSS and R, and compare the results from both software packages.

Continue reading “Moderation with a multicategorical moderating variable”