EDF9850_Lecture4_Part2
Overview
Lesa Hoffman explains how centering choices affect random slopes and cross-level interactions in multilevel models, using verbal ability and mixed-grade schools as the running example. She shows how hybrid specifications and corresponding cluster-level terms prevent conflated effects, then discusses when cross-level interactions are defensible and how they relate to variance in slopes, intercepts, and residuals.
Key takeaways
- A random slope for a person-level predictor should multiply its cluster-mean-centered or latent-centered version; attaching it to a constant-centered predictor can smoosh slope variance and change the random-intercept interpretation.
- A hybrid model can use constant-centered verbal ability for the fixed slope and cluster-mean-centered verbal ability for the random slope, with school mean verbal ability included to estimate the contextual effect.
- A cross-level interaction with a constant-centered level-one predictor assumes equal moderation of within and between slopes unless the matching level-two contextual interaction is added.
- Within plus contextual equals between for main effects and interactions; alternatively, between minus within yields the contextual effect.
- When school mean verbal ability moderates the student verbal slope in a constant-centered model, a corresponding squared school-mean term separates within-slope moderation from contextual-slope moderation.
- A nonsignificant random-slope variance does not always rule out a theoretically important cross-level interaction; if moderation explains the slope pattern without remaining cluster-level variance, the slope is systematically varying rather than random.
Chapters
- A fixed slope is constant across clusters, while a random slope allows each school to have its own within-school verbal-ability slope.
- Cross-level interactions can explain random-slope variance, tested with a likelihood ratio test when nested models keep the same fixed effects.
- The lecture shifts from cluster-mean-centered predictors to constant-centered predictors, which retain both within-school and between-school variation.
- The running language-achievement model includes mixed-grade status and school mean verbal ability alongside student verbal ability.
- The hybrid specification uses constant-centered student verbal ability for the fixed slope and cluster-mean-centered verbal ability for the random slope.
- Including school mean verbal ability as a contextual effect separates the fixed within-school slope from the between-school contribution.
- The hybrid approach can be useful when a contextual effect is the research target or when cluster-mean-centering a binary predictor is awkward.
- A random slope attached to a constant-centered predictor is smooshed, and its model is not equivalent to one using the cluster-mean-centered predictor.
- The intercept changes meaning with the centering choice: it refers to a student at the school mean in one model and to the constant-centered zero point in the other.
- In the example, the constant-centered specification produces smaller estimated slope variance, illustrating how smooshing can distort random-effect estimates.
- With a properly centered random slope, the random intercept is conditional on student verbal ability being at the school mean.
- A cross-level interaction between mixed-grade status and constant-centered verbal ability implicitly assumes equal moderation of within-school and between-school verbal slopes.
- In the initial example, the interaction estimate is 0.37, but it is smooshed because the model does not distinguish those two forms of moderation.
- Adding a mixed-grade-by-school-mean-verbal interaction allows contextual moderation to differ from within-school moderation.
- The within slope plus the contextual slope gives the between slope; the same relationship applies to their interactions with mixed-grade status.
- A cluster-mean-centered fixed predictor directly estimates within effects and between effects; contextual effects can be computed as between minus within.
- The hybrid model estimates contextual terms directly, while the cluster-mean-centered version estimates between terms directly; both yield matching unsmooshed effects when corresponding terms are included.
- In the example, mixed-grade schools have a within verbal slope that is 0.336 stronger; the between slope is 0.753 stronger, but not significantly so.
- The contextual verbal slope is 0.417 stronger in mixed-grade schools, and both parameterizations retain the same variance model when their random slopes use cluster-mean centering.
- When school mean verbal ability moderates the student-level verbal slope, constant centering again conflates within-school and between-school moderation.
- Following the rule to add a corresponding level-two term requires a school-mean-verbal squared term, written in R with I(verbal^2).
- The cross-level interaction describes moderation of the within slope, while the quadratic term describes moderation of the contextual slope; combining them gives between-slope moderation.
- The example estimates a within slope of 2.359 and a between slope of 3.2 at the reference value; interpreting a quadratic coefficient as a change in linear slope requires multiplying by two.
- One view is that a cross-level interaction should not predict slope variation when a random-slope variance was not detected; omitting the random effect can produce overly small standard errors and excessive Satterthwaite degrees of freedom.
- Because random-slope tests may have low power, Hoffman also considers testing a theoretically important cross-level interaction even when the initial variance test is nonsignificant.
- A slope is systematically varying when a moderator such as treatment status explains its variation, but no residual cluster-specific slope variation remains.
- If random-slope variance remains significant after moderation, the slope is still random; if the interaction is nonsignificant and no variance remains, the slope can be treated as fixed.
- Fixed level-two predictors reduce random-intercept variance, while cross-level interactions with a random-sloped level-one predictor can explain that predictor's random-slope variance.
- If no random-slope variance exists, a cross-level interaction instead accounts for level-one residual variance and represents systematic variation.
- Cluster-mean-centered level-one predictors target within-cluster residual variance; constant-centered or uncentered predictors can also carry cluster variation into the model, the Trojan horse problem.
- For constant-centered predictors, add corresponding level-two main effects and interactions to separate within, contextual, and between effects; always use the cluster-mean-centered version in the random-slope term.
Transcript excerpt
0:01 Hello folks. Welcome back to my home office. I am here to record the second part of lecture four, picking up where the first part left off on slide 15. So, up to this point the lecture had introduced the idea of random slopes, the idea that each cluster needs their own version of the slope of a person level predictor. So, fixed slope means it's a constant, random slope means it's a variable. From there, we need cross-level interactions between level two cluster characteristics and their corresponding level one predictor with the random slope to explain that random slopes variance. We can test whether the variance is there in the first place or still there after cross-level interactions try to explain it using a likelihood ratio test
0:49 so long as we keep the fixed effects the same between nested models that differ only in the random slope variance. So, the rest of this lecture then, part two, is covering the context in which we have constant centered level one predictors rather than cluster mean centered versions of the level one predictors. So, away we go. So, danger ahead. That is what the slide says because that is what I meant. So, we are continuing with a simplified version of the example model of verbal ability predicting language in which we removed the non-significant main effect of homework two and its cross-level interaction, as well as the non-significant um cross-level
1:37 interaction between the parts of verbal in this story. So, we're down to just mixed grade as a moderator of the intercept and the level one verbal slope, as well as a main effect of cluster mean verbal in predicting the cluster specific intercept. So, in this model, this cross-level interaction right here specifically describes how the within-school slope of
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Lesa Hoffman.