# Hayes Process Macro - Model 1 - Moderation Analysis with Categorial Moderator

### Hayes Process Macro - Lecture Series

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

## Model 1a: 1 Moderator [BASIC MODERATION] Categorical Moderator

- Example Variables: 1 predictor X, 1 moderator W, 1 outcome Y

*Preliminary notes: *

- Model 1b assumes that:
- The primary IV (variable X) is continuous.
- The Moderator is Categorical with Multiple Categories.

**Example**

**IV:****Commitment****MoDV****: Bank****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 Bank (Type of Bank)
- Model Number is 1

- 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.

Next,Click Continue, and Press Multicategorical button, and for Variable W, click Multicategorical and select the coding system indicator (Dummy Coding). If you would like to know more about Dummy Coding, Click Here

## Output Interpretation - Basic Summary

- Description of Model along with the different variables where Y is Dependent Variable, X is Independent Variable, and W is the Moderating Variable.
- Bank is Categorical with Small, Medium, and Large Sized Banks
- Coding of categorical W variable for analysis:
- Bank W1 W2
- 1.000 .000 .000
- 2.000 1.000 .000
- 3.000 .000 1.000

W1 – Medium vs Small (Small is Reference Category)

W2 – High vs Small