Decomposing Variance in General Linear Mixed Models for Repeated Measurements : Understanding Between-Subject, Within-Subject, and Measurement Error Components
In the linear mixed model: Var ( Y i ) = Z i G Z i ′ ⏟ Between-subject variance + R i ⏟ Within-subject variance Var ( Y i ) = Between-subject variance Z i G Z i ′ + Within-subject variance R i Between-subject variance ( Z i G Z i ′ Z i G Z i ′ ): Captures variability due to random effects , like subject-specific intercepts or slopes. Within-subject variance ( R i R i ): Captures variability within a subject , which includes: Measurement error Other time-specific fluctuations 📌 So where is measurement error? Measurement error is part of the within-subject variance . If we assume: R i = σ 2 I R i = σ 2 I then all within-subject variability is attributed to independent measurement error with constant variance σ 2 σ 2 . However, in more complex models, R i R i can include: Autocorrelation (e.g., AR(1) structure) Heteroscedasticity (changing variance over time) M...