6. Regression - Categorical variables and BEYOND!!! Flashcards
For a variable with g levels, how many dummy variables do we need to capture all the levels?
g-1
With dummy coded variables, what does the constant represent (assuming nothing else in model)?
The mean of the reference group - the score for someone who gets 0 on all variables.
Do you have to control for type I error when using dummy coded variables in regression?
Nope.
How must dummy variables be interpreted in conclusions?
As a mean difference.
Is an interaction effect moderation or mediation?
Moderation. Relationship between X1 and Y depends on the level of –or is moderated by – X2
What are the three steps in testing interactions?
- Calculate an interaction variable
- Run sequential MR with three predictors –original variables and interaction
- Interpret either delta R square or b for the interaction
What is the regression formula for an interaction?
Y=a+b1X1 +b2X2 +b3X1X2 +e
What is mean-centring when it comes to continuous variables?
Subtracting the mean from each score.
What are the two steps in calculating an interaction variable?
- Mean-centre continuous variables
2. Multiply the two variables
Why do you mean-centre?
It reduces multicollinearity.
How do you interpret the constant with mean-centred variables?
Easier to interpret constant when variables are not mean-centred – otherwise the value is based on a mean of zero. Mean-centredness is only important for calculating interaction, so best use it just for that.
Do you need to mean-centre z-scores to calculate an interaction?
Nope, they’re already mean-centred.
How do you interpret an interaction between two continuous variables?
Well, you can say there is an interaction and it’s significant.
One other option is to break on of the variables into groups - e.g., high, medium and low ability.
Which model should be interpreted, with or sans interaction?
Depends. If the interaction is significant, interpret that model (Model 2). If it’s not, interpret Model 1 and say you tested an interaction, but it was insignificant.
What is polynomial regression?
Interaction between the continuous IV and itself. Effect of variable X on DV depends on level of variable X.
How do you transform a variable to test polynomials? Three steps.
- Mean centre the variable
- Square it
- Enter it as the last block in equation
What’s the quadratic regression equation?
Y= a+b1X1 + b2X1 square + e
If the quadratic regression coefficient is positive what shape does that indicate in the data?
Curve is u-shaped function