EDF9850_Lecture4_Part3
Overview
Lesa Hoffman explains how multilevel models represent clustered dependence by partitioning variance into level-two random effects and level-one residuals, then combining them in a model-implied covariance matrix. She connects random slopes to predictor-dependent variance, and outlines maximum likelihood estimation, ML versus REML model comparisons, boundary tests for random-effect variances, and shrinkage in predicted cluster effects.
Key takeaways
- A random intercept captures constant within-cluster covariance, while a random slope makes both outcome variances and between-person covariances depend on predictor values.
- Cluster-mean centering a within-cluster predictor helps prevent a random slope from imposing the same variance pattern across both within-cluster and between-cluster differences.
- The G matrix holds random-effect covariance, R holds level-one residual covariance, and their combination through the random-effect design matrix produces the outcome covariance matrix V.
- For normally distributed multilevel outcomes, variance components determine V and are the main quantities searched for iteratively; fixed effects are computed once that covariance structure is established.
- REML-based likelihood and information criteria cannot compare models with different fixed effects; Wald tests can test those fixed effects, while ordinary ML supports likelihood-based comparisons.
- Predicted cluster effects are shrunken BLUPs, especially for extreme estimates and small clusters, so the model's estimated variance components are generally more appropriate for describing between-cluster variation.
Chapters
- A random intercept captures a constant source of within-cluster dependence through the level-two variance component.
- A random slope lets clusters have different within-cluster predictor effects, reallocating some level-one residual variance to between-cluster slope variance.
- Random effects at the same level can have covariances; cross-level random-effect covariances are not part of the model described.
- A cross-level interaction explains random-slope variance when the level-one predictor has a random slope, but otherwise explains residual variation.
- Hoffman switches from person-level scalar equations to matrices organized per cluster, with X for fixed-effect predictors and Z for predictors with random effects.
- The G matrix contains level-two random-effect variances and covariances, while R contains level-one residual variances and covariances.
- With only a random intercept, each person has the same predicted variance, and the shared intercept variance produces the same covariance between people in a cluster.
- Combining random effects and residuals yields V, the marginal variance-covariance matrix for outcomes.
- Adding a random slope makes diagonal variances depend on the predictor’s squared value and its covariance with the random intercept.
- The resulting variance pattern can be U-shaped across the random-slope predictor, while covariance between two people depends on both of their predictor values.
- Cluster-mean centering separates within-cluster predictor variation from cluster means, avoiding an unsupported assumption that the same variance pattern applies at both levels.
- Across clusters, V has a block-diagonal structure under the assumption that clusters are independent; unequal cluster sizes simply produce blocks of different dimensions.
- For normally distributed outcomes, maximum likelihood searches iteratively for variance components; once V is known, fixed effects can be computed from the data, predictors, and outcomes.
- Clustered outcomes are treated as multivariate observations within each cluster, replacing a univariate residual variance with the cluster-level V matrix.
- The likelihood uses the determinant and inverse of V, so V must be positive definite and invalid variance or correlation estimates can cause estimation problems.
- Convergence occurs when further parameter updates no longer change the likelihood substantially; software packages such as R's lme and lmer can differ slightly in their convergence results.
- In normal multilevel models, fixed effects are computed after the variance structure is established and usually do not cause convergence failures; tiny predictor scales can be an exception.
- Maximum likelihood and REML differ in how they account for fixed-effect uncertainty, with REML focused on residual likelihood.
- REML likelihood, AIC, and BIC should not compare models that differ in fixed effects; use Wald tests for fixed-effect slopes or sets of slopes instead.
- Smaller minus-two log likelihood, AIC, and BIC indicate better relative fit, but standard multilevel output does not provide absolute fit information.
- Random-effect variances cannot be negative, so testing a variance of zero places the null hypothesis on a boundary and violates the usual chi-square reference distribution.
- For a random-intercept variance, the mixture chi-square approach can halve the usual p-value; the 5% critical value for a one-parameter test changes from 3.84 to 2.71.
- Testing a random slope and its covariance can use a mixture of one- and two-degree-of-freedom chi-square distributions, with a 5% critical value of 5.14 rather than 5.99.
- Ignoring the boundary adjustment makes likelihood-ratio tests somewhat conservative; Hoffman notes that the correct mixture is more complex for some models.
- Observed cluster-mean variance is largest, the model-estimated cluster variance is smaller, and the variance of predicted cluster effects, or BLUPs, is smallest because of shrinkage.
- BLUPs for extreme cluster estimates and clusters with fewer people are pulled more strongly toward the overall center, so Hoffman cautions against treating them as unshrunk cluster scores.
- Random effects are latent variables; the model can estimate their variance without requiring researchers to use predicted cluster effects as single-score estimates.
- Warnings such as singular or non-positive definite often indicate a near-zero random-effect variance or a random-effect correlation near positive or negative one; a zero random-slope variance suggests removing that slope.
Transcript excerpt
0:00 Hello folks, and welcome back to my second floor office. I'm here today to finish lecture four or at least give my best shot at doing it. I'm picking up on slide 35. So, I wanted to start with just a big picture in front of this section because the details can become a little bit overwhelming. There is often a phrase that you'll see in published results sections where people say that multilevel modeling handles dependency in the same way that folks say that full information maximum likelihood handles missing data. The word handle is what you use when you're not really sure what you're talking about. And I wanted to try and make this a little bit more concrete as to how exactly dependency is being handled in these models. And the answer is by forming a new variance component or a new pile of variance that is
0:48 supposed to be capturing the source of each dependency. So, the way this works is as follows. Once upon a time, there was an outcome. It had variance across people and clusters. The first thing that we do in multilevel models is to try to determine how much variance resides due to each source. So, how much variance is because people differ from each other? That forms the level one residual that has a variance. And how much of it is because clusters differ from each other on average, which forms the random intercept variance at level two. Note the colors here. Green is the between color, purple is the within. At this point, this is not yet fully purple. We can use predictors to try and explain
1:37 each source of variance. So, this is a within cluster predictor that describes um differences relative to a cluster mean on a predictor X across people.
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.