# Hayes Process Macro - Model 2 - Moderation Analysis with Continuous Moderators

### Hayes Process Macro - Lecture Series

The tutorial will guide on Model 2 of the Hayes Process Macro for Moderation Analysis using 2 Continuous Moderators, and Continuous Independent & Dependent Variables.

## Model 2: 2 Moderators M & W

- Example Variables: 1 predictor X, 2 Moderators W & M, 1 outcome Y
- The primary IV (variable X) is continuous.
- The Moderators are Continuous.

**Example**

**IV:****Commitment****MoDV1****: Role Ambiguity****MoDV2: Role Conflict****DV:****OP**

## How to Run

- Step 1: Analyze -> Regression -> Process v4.0 by Andrew F. Hayes

- Step 2: Put in the Required Variables. In this case,
- Y Variable (Dependent Variable) is OP
- X Variable (Independent Variable) is Commitment (COM)
- Moderator Variable W: is Role Ambiguity (RA)
- Moderator Variable Z: is Role Conflict (RC)
- Model Number is 2

Â

- Step 3: Select Option Button, and Choose the options as shown in the figure below ()
**Select Generate code for visualizing interaction,**this is to generate graphs for slope analysis- From
**Mean center for construction of products**groups box, select**Only continuous variables that define products.**This will mean center the variables the are part of the interaction term. We do mean centering to avoid multi-collinearity between predictor variables and the interaction term.