Moderated Mediation (here with moderation of the a-path) Process y=prejudice /x=contact /m=intergroup_anxiety /model=4. Process y=health /x=stress /w=gender /model=1. In order to run a PROCESS model you need to include the variables and the number of the model, at least. Therefore: if you want to use the word „process“ in your comments insert a blank after each character, then it should work: I get an error message even though the SPSS editor recognizes this line as a comment (it is shown in light grey): If I write the following comment after initializing PROCESS: To do that you open the syntax file process.sps (which you get on downloading PROCESS) and run it.ĭo not use the word „process“ anywhere else in the syntax In order to run PROCESS from SPSS syntax it has to be initialized in each session you are using it.
SPSS CODE MEAN FULL
The full options list is part of Hayes' excellent book Introduction to mediation, moderation, and conditional process analysis: A regression-based approach (2017).
for programming your own model templates (you are not limited to the preprogrammed ones). I have not included all possible options but only the most important syntax commands.
There are two primary reasons for running it by syntax (and not from the PROCESS dialog in SPSS):Ī) To better document the steps of your analysisī) To use additional options that are not available from the dialog This tutorial will show you the main options you have when you are running PROCESS with SPSS syntax. Running Hayes' PROCESS-macro (Version 3) with SPSS SyntaxĪrndt Regorz, Dipl. PROCESS Syntax for Moderation, Mediation and Moderated Mediation: