Skip to main content

Linear Mixed Effects Models

Here we'll be considering an alternative approach for analyzing longitudinal data using linear mixed effects models. These models have some subset of the individual parameters vary randomly from one subject to another, thereby accounting for sources of natural heterogeneity in the population.

  • Fixed effects are the population characteristics that are assumed to be shared by all subjects
  • Random effects are characteristics, unique for each subject
  • The combination of both gives rise to mixed effect models

Model Formulation

The simplest mixed effects model for longitudinal data is:
image.png
Where b and e are independent.

The marginal mean response in the population is:
image.png
The response for the ith subject at the jth measurement occasion differs from the population mean response by a subject effect bi, and a within subject measurement error eij.

The conditional mean response for any individual:
image.png

The residuals of profile analysis and parametric curves (ϵij) and parametric curves such that ϵij = bi + eij

Variance and Covariance Structure

image.png
Similarly, the marginal covariance between any pair of responses:
image.png

With some linear algebra we can write the variance-covariance matrix as follows:
image.png

Where ρ is called the intra-cluster correlation coefficient. For ρ > 0, the random intercept mixed effects model is observationally equivalent to a compound symmetry model.

Random Intercept and Slope Model