Interactions (Moderations) Flashcards
What is an interaction?
The effect of one variable depends on the level of another.
Thus far, we assumed additivity, what does this mean?
Adding each predictor to interpret main effects. But now we add interaction term.
What type of vector do we need to include the interaction term?
A cross-product vector.
How do we do a cross product of 2 continuous variables?
Multiplying 2 variables together.
X1X2 = Cross product
ex) person 1 scores a 3 in variable 1 and 4 in variable 2 (interaction of continuous variables).
3x4 = 12
How many vectors do we need to represent a 2 category variable?
I only need 1 vector to represent a 2 category variable.
I have 2 vectors to code for 1 variable, how many categories do I have?
3 categories.
ex) 5 categories - 4 vector codes
2 vector codes - 3 categories
• How do you represent interactions (two-way and higher-order) in a regression analysis? What model do you fit?
o Two Continuous variables - To include the interaction term to regression analysis, we need to multiple the 2 continuous variables to make a Cross-product (X1X2).
• So if person scored a 4 on X1 (variable 1) and 3 on X2 (variable 2), then interaction term is 12.
• Note: Continuous is notated as X
o Categorical vs. Continuous –
• Note: Notation of Categorical is Dummy Coded (0 and 1s). Categorical is notated as D