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(Yi)=ZiGZiBetween-subject variance+RiWithin-subject variance
  • Between-subject variance (ZiGZi): Captures variability due to random effects, like subject-specific intercepts or slopes.
  • Within-subject variance (Ri): 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:

Ri=σ2I

then all within-subject variability is attributed to independent measurement error with constant variance Ïƒ2.

However, in more complex models, Ri can include:

  • Autocorrelation (e.g., AR(1) structure)
  • Heteroscedasticity (changing variance over time)
  • Measurement error

✅ Summary

You can say:

Var(Yi) = between-subject variance + within-subject variance (including measurement error)

Comments

Popular posts from this blog

Analysis of Repeated Measures Data using SAS

Medical information for Melanoma, Merkel cell carcinoma and tumor mutation burden

Four essential statistical functions for simulation in SAS