Track T12
Mixed & Clustered Data
Repeated measures, clusters and partial pooling.
Unit 1Why grouping matters
Unit 2Mixed models
- 2Random intercepts and partial poolingA separate mean for each group trusts small groups too much, and one mean for all ignores them. A random intercept sits between the two, pulling each group toward the rest by an amount the data decide.
- 3Random slopes: a line for every personWhen an effect differs between people, a random intercept isn't enough. Add a random slope, see why its test has so few degrees of freedom, choose REML or ML, and know what to do with a singular fit.
- 4Nested and crossed grouping factorsClasses sit inside schools, while every rater scores every item. Those two structures need different models, and repeated labels can quietly turn one into the other.
- 5Generalized mixed models: binary and count outcomesRandom effects also work with logistic and Poisson models. Learn to read within-group odds ratios, an ICC on the latent scale, successes out of trials, and overdispersion in a mixed count model.
Unit 3Marginal models and panels
- 6GEE: population-average effectsGeneralized estimating equations ask how the average outcome changes across a population, treat within-cluster correlation as a nuisance, and give standard errors that hold up even when your guess about that correlation is wrong.
- 7Panels as mixed models: Breusch–Pagan LM, Hausman and MundlakA panel is clustered data with a clock. Random effects are a random-intercept model, fixed effects remove the units, and three tests tell you whether unit effects exist and whether they're tangled with your predictor.
- 8Panel diagnostics: Pesaran CD, Wooldridge and panel unit rootsPanel errors can move together across units and drift over time, and whole panels can wander without a mean. Learn the tests for each, what their null hypotheses say, and why rejecting one isn't the same as all units behaving well.