Topics Covered

Nested Data Structures

Understand why trials within subjects violate independence and how ignoring this hierarchy inflates Type I errors.

Fixed vs. Random Effects

Fixed effects estimate population-level averages, while random effects model the variation between individuals or groups.

Partial Pooling & Shrinkage

How mixed models find the "middle ground" between treating everyone the same and treating everyone as totally unique.

Visual Insights: The Dragon Dataset

Mixed models help us see through "clutter" caused by grouping factors. If we ignore mountain ranges, we might miss the real effect (or lack thereof) of body length.

📊

The Independence Fallacy

[A boxplot showing test scores varying wildly across differrent mountain ranges, proving that data points are clustered.]

📈

Random Intercepts

[A plot with 8 different lines, each starting at a different baseline, representing the unique intercept for each mountain.]

Key Concepts

Homework

Resources