Moderation, Logistic Regression, Mixed ANOVA Flashcards
What kind of relationship do we look for in a moderator
Here, we’re interested in whether the relationship between our predictor (X) and outcome (Y) is affected by the moderator (M).
What are 4 different changes in relationship with a moderator
The relationship is sometimes smaller
The relationship is sometimes larger
The relationship sometimes disappears
The direction of the relationship changes
What is a main difference between mediation and moderation
Contrary to mediation, which shows how a predictor works, moderation shows whether or when it works.
You could also say it shows us under what conditions we can expect a relationship
What is the difference between mediation and a third variable problem
In a third variable problem, the primary predictor does not predict the mediator, but the opposite. The mediator is predicting both the main predictor and the outcome.
What is some language showing you have a moderation
“Only when” “Sometimes” “It depends”
How does a moderator impact the relationship of the predictor to the outcome
Depending on the level of the moderator, the beta will increase or decrease in strength
Which type of variable is easier to visualize in a moderation analysis
categorical moderator (as opposed to continuous)
What extra step do you need to do to calculate a moderation analysis, as opposed to a regular 3-variable mutliple regression
We need to add an interaction. The model we run includes 3 predictors instead of 2, but the third is just the multiplication of X by M
Which elements are part of the moderation model
- Predictor
- Moderator
- Interaction: Predictor x Moderator
- Outcome
What is an important first step to run a moderation analysis
All predictors need to be centered before conducting your regression.
Centering means subtracting the Mean from each observed value.
Conveniently, standardized variables are automatically centered
The interaction term must be calculated using the centered predictors.
How can you tell if you have a significant moderator, and what should you do next
If the interaction term beta is significant, then we have found moderation.
You will get three betas: 2 predictors + Interaction
Follow it up with a simple slopes analysis
What are the simple slopes plot, how should you interpret it
This plot allows us to visualize the effect.
It will give the average estimate, the low (-1SD) and the high (+1SD) estimate as well as p-values. If the p-values are significant, you can determine which level of X is different form the average.
What are main features of logistic regression
- Outcome we’re interested in is categorical.
- Doesn’t require straight lines
- Can use categorical and continuous predictors
What is a binary logistic regression
The outcome has only two possibilities
What is the goal of a logistic regression
Instead of focusing on the amount of variability in the outcome that is explained, we’re trying to predict which category participants fall into
With binary logistic regression we make a model to predict which of the outcome variable’s two categories each participant falls into, and then check that model against the observed outcome.
What are the minimum and maximum value of logistic regression
Probability ranges between 0 and 1.
You can only have zero if the bottom of the equation reaches infinity, which won’t happen. But in theory, it could reach zero.
What statistics tell us if our logistic regression is significant
Our overall model significance test isn’t an ANOVA, but rather a χ2 test (chi squared); this will tell us whether our R2, or accuracy, is high enough
We also want to know how much each predictor contributed to this model accuracy (beta, or other statistics)
What should you do if a predictor is not significant in your logistic regression model
Remove it.
Just like linear regression, it’s best to use the simplest model you can get away with. That is, without removing any significant predictors.
This means we only keep predictors if they have explanatory benefit
What happens if only one of the categories of a predictor has a significant beta?
if one of the levels of the categories in that predictor is significant, it justifies using the entire predictor. Not all levels have to be significant
What can you use to make sure the predictor you removed was not significant
The hierarchical model teardown works well:
First fit a model with all predictors, then remove any that don’t contribute significantly
In jamovi we need to do this backwards, to get the p –value of the model change (to verify we didn’t remove too much)
Name the 5 assumptions of logistic regression model
Complete Predictors
No Complete Separation
No Overdispersion
Not too much Multicollinearity: continuous predictors only
No Influential Outliers: continuous predictors only
Explain complete predictor
We need data from all categories, for categorical predictors
We need the full range of responses for continuous predictors
Explain complete separation
Complete separation is when the outcome is perfectly predicted. Complete separation makes it impossible to select a single wellfitting model (it’s like not being able to calculate a line of best fit) because there is a horizontal gap between the observations
We need to see some horizontal overlap between the high and low probability observations.
How can you assess if there is complete separation
You can use a Descriptives analysis to determine whether this is a problem.
You need to examine the range (Minimum & Maximum) of scores for each predictor, separately for people in the DV = 0 and DV = 1 categories
Assuming you coded them as 0 and 1, of course
Go to Exploration Descriptives
Add any predictors to the Variables box
Add your outcome variable to the Split by box