EDF9850_Example4a_Part2
Overview
Lesa Hoffman develops Model 5B of a multilevel math achievement analysis, showing how school resources and racial composition moderate the student-level effect of non-white identity and how to interpret the resulting cross-level interactions. She then adds a random slope for student SCES, explains variance tests and singular-fit warnings, and uses interaction plots to connect model terms with predicted patterns.
Key takeaways
- A positive association between a school intercept and a negative student-level slope means that higher-math schools tend to have a weaker, less-negative non-white student effect.
- In Model 5B, school racial composition significantly moderates the non-white student slope: each 10-percentage-point increase in non-white enrollment makes that slope about 0.29 points less negative.
- The two school-level moderators explain about 18% of the between-school variance in the non-white slope but only 0.1% of total math-score variance.
- Adding a second random slope when two random effects are already present adds three parameters: one variance and two covariances.
- A singular-fit warning can signal redundant random effects; in this example, the two random slopes are nearly perfectly negatively correlated.
- The school-level moderators explain about 55% of the within-school SCES slope variance, while the remaining small variance is borderline significant.
Chapters
- A positive correlation between school math intercepts and non-white student slopes means higher-math schools tend to have less-negative slopes.
- Because the slope is negative on average, a higher slope value means a weaker negative association between non-white identity and math scores.
- The intercept represents school mean math when the relevant predictors equal zero.
- Model 5B adds student non-white identity interactions with school mean SCES and school proportion non-white.
- The student non-white by school proportion non-white term is an intravariable interaction because it links an individual measure with the school mean of the same variable.
- Writing the equation with beta placeholders distinguishes each fixed effect from its associated random slope.
- In R, a colon specifies an interaction; an asterisk includes both main effects and the interaction.
- The two new fixed effects test whether school resources and racial composition explain differences across schools in the student non-white slope.
- After adding those moderators, the random-slope term U2 represents the remaining unexplained school-to-school variation.
- The overall fixed-effects F test has six numerator degrees of freedom, but it does not isolate the two new interactions.
- A separate joint F test is needed to determine whether the pair of cross-level interactions improves the model.
- The non-white student slope is about 3 points lower at the reference values: average school SCES and 30% non-white enrollment.
- Higher school mean SCES makes the negative non-white slope less negative by about 1.1 points per unit, although this interaction is not statistically significant.
- Higher school non-white composition also weakens the negative slope, by about 0.29 points for each additional 10% non-white enrollment.
- A negative slope moving toward zero is weaker; moving farther from zero would make it stronger.
- The school composition and resource moderators explain about 18% of the between-school variance in the non-white student slope.
- The random-slope variance remains statistically detectable, so the two moderators do not account for every school difference.
- The two new interactions explain only about 0.1% of total math-score variance, illustrating that total and slope-specific R-squared answer different questions.
- Hoffman uses the lmerTest contestMD function for a joint F test of selected fixed-effect terms.
- Adding a random slope for student SCES introduces three covariance parameters: its variance and covariances with the two existing random effects.
- With an intercept already in the model, the first random slope adds two parameters; the second adds three.
- The intercept becomes conditional on student non-white identity and within-school SCES being zero.
- Both existing random slopes are needed by likelihood-ratio comparisons, and the positive within-school SCES effect varies across schools.
- The expanded model contains four variance piles and can therefore have four corresponding pseudo-R-squared measures.
- A boundary singular fit can indicate a near-zero variance or an estimated random-effect correlation at its limit.
- Here, the two random slopes are almost perfectly negatively correlated, suggesting that the model may contain redundant random effects.
- Cross-level interactions can be selected according to theory, but the random slope should be established as varying before attempting to explain that variation.
- At average school SCES and 30% non-white enrollment, a student with one unit more SCES than schoolmates is predicted to score about 1.9 points higher in math.
- The school-mean SCES interaction is not significant, while greater non-white school composition makes the positive within-school SCES slope less positive.
- The remaining SCES random-slope variance is borderline significant; the moderators explain about 55% of it.
- A modest amount of remaining variance can become nonsignificant even when only half is explained, because the original variance was small.
- Hoffman's plot uses color for low versus high school mean SCES and solid versus dashed lines for school racial composition.
- Within-school SCES slopes are shallower in schools with more non-white students, while the mean-SCES interaction appears nonsignificant because its lines are largely parallel.
- A three-way interaction would allow the composition effect to differ across school mean SCES; higher-order interactions require increasingly complex plots.
- For a binary student predictor, cluster centering can create values that are not directly possible identities; Example 4B will address constant centering and its complications.
- The class closes with an optional activity using a shiny app and a Google Docs instruction sheet, with answers due on Canvas.
Transcript excerpt
0:00 going to be. I I understand it's 6:16 on a Thursday. We're doing what we can. Um so I decided to try and draw the picture in my head in a spreadsheet for you because that's literally how I think. So the positive correlation between the random intercept which represents school mean math conditional on this variable being zero zero and the random slope. So we agreed that there is a negative slope on average the extent of which varies across clusters, right? We agreed on that as the random slope interpretation and specific numbers would be these ones to support that. But I'm just making some stuff up right now. So if I think about what a positive correlation would be between these columns of variables, schools that are higher on math are higher on the slope.
0:52 But what a higher value means in a negative slope context is a less negative slope. So there's less of an effect of being non-white if you're in a school that's already good at math. That's what that means. Not a strong correlation, but it's there. So hopefully that might help a little bit or at least not make it worse, which I'm tend to do sometimes. I have good intentions. I just keep talking and I realize at some point I should have stopped. All right, here's where the fun begins. Oh crap. Yeah, that just got bigger. The backpack got filled up. And this is the point where the uh the notation starts to make sense in terms
1:40 of why we had placeholders. So, what's new in the story here in model 5B? >> Lots of stuff. two things in particular. >> Yeah, these two right here, these are our new terms. These are interaction terms. It's a little weird to think about
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.