Your Quick Introduction to Modelling the Correlation Structure of Repeated Measures Data

The title 'Your Quick Introduction to Modelling the Correlation Structure of Repeated Measures Data' set across a scatterplot

Linear mixed effects models provide a powerful tool for modelling temporally correlated data. The goal of correlation modelling is to describe how the dependence between measurements changes as the separation in time between them increases. For example, if we measure a patient’s blood pressure each month, we expect measurements on consecutive months to be more alike than measurements several months apart.

love hearts representing months and strong/weak correlation

Four commonly used correlation models for repeated measures data are:

Simple correlation structure, also known as uniform correlation. This model assumes the correlation (p) between measurements is constant regardless of how far apart in time they are.

Autoregressive model of order 1. This model allows the correlations between measurements to decrease as the length of time between them increases. This is a more realistic correlation structure for most repeated measures data sets than assuming constant correlation between all pairs of measurements. However, the autoregressive model should only be used when the repeated measures data is at equally spaced time intervals.

Power model of order 1. This is an alternative to the autoregressive model of order 1, which accommodates unequally spaced repeated measures. As with the autoregressive model, this allows the correlations between measurements to decrease as the length of time between them increases.

Note: dij is the Euclidean distance between the ith and jth measurements (i.e., time points).

General correlation structure, also known as unstructured correlation. This is the most flexible correlation structure. It allows a separate correlation for every pair of measurements.

Note: dij is the Euclidean distance between the ith and jth measurements (i.e., time points).

In addition, another important correlation structure is the identity structure. This assumes that the observations are uncorrelated, or independent of one another.

Real Life Correlation Examples

Let’s look at an example…

Our example is from an orthodontic growth rate study of children (Potthoff and Roy, 1964). In this study, researchers at the University of North Carolina Dental School tracked the orthodontic growth of 27 children by measuring the distance between the pituitary and the pterygomaxillary fissure every 2 years from the ages of 8 to 14 years.

The graph on the right plots the orthodontic
growth profiles of the individual children,
coloured by sex. Of interest is modelling
distance in terms of sex and age.

a graph looking at male and female children and distance vs years

The data set contains 2 variates:

– distance, the response variable
– age, age of the child in years

and 3 factors :

– Subject, the individual children from whom repeated
measures have been taken
– Sex, sex of the child
– agef, also age of the child in years but stored as a factor
a table looking at male and female children and distance vs years

Our goal is to model the distance data allowing male and female children to have different growth patterns as they age. However, as this is repeated measures data, we must take into account the correlated nature of the distance measurements taken on the same child (i.e., Subject) as they age. For this study, distance measurements taken on the same child at consecutive ages should be correlated but measurements on different children are assumed to be independent.

An infographic demonstrating correlated vs independent structures

This correlation is imposed by specifying the appropriate correlation structures on the residual.

The orthodontic growth data set contains a total of 108 observations arising from 27 children (factor Subject) each measured 4 times, at ages 8, 10, 12 and 14 (factor agef). Thus, for this data set the residual corresponds to the combination of the factors Subject and agef.

Our residual model has an I ⊗ C covariance structure, where the identity matrix I corresponds to the independent children, and the covariance matrix C corresponds to the correlated measurements over age within a child.

Since the distance measurements taken on different children are assumed to be independent, the correlation structure that should be associated with the Subject term in the residual is the identity correlation structure.

However, as the distance measurements taken on the same child over consecutive ages should be correlated, we need to select a different correlation structure for the agef term in the residual.

Recall that…

  • the simple correlation structure assumes that the correlation between distance measurements taken on the same child is constant regardless of how far apart in age the measurements were taken
  • the autoregressive correlation structure of order 1 and the power model of order 1 allow the correlation between distance measurements taken on the same child to decrease as the age difference between the measurements increase.
  • the general correlation structure allows a separate correlation for every pair of ages

So, for example, if we were to impose a general correlation structure on the agef term in the residual we would be allowing the correlation to be different between every pair ages, i.e.,

In summary, if we model the distance data using a repeated measures model with an identity correlation structure on the Subject term and a general correlation structure on the agef term in the residual, we are saying that the residuals between different children (Subject) are independent, but the residuals originating from measurements taken on the same child but at different levels of agef are correlated according to the general correlation structure.

Want to Discuss With an Expert?

Get in touch with the VSNi team today if you’d like to talk through any of your real life data. Our consultants are on hand with bespoke advice and software solutions.

Picture of Dr. Vanessa Cave
Dr. Vanessa Cave
Dr. Vanessa Cave is an applied statistician interested in the application of statistics to the biosciences, in particular agriculture and ecology, and is a developer of the Genstat statistical software package. She has over 15 years of experience collaborating with scientists, using statistics to solve real-world problems. Vanessa provides expertise on experiment and survey design, data collection and management, statistical analysis, and the interpretation of statistical findings. Her interests include statistical consultancy, mixed models, multivariate methods, statistical ecology, statistical graphics and data visualisation, and the statistical challenges related to digital agriculture. Vanessa is a past President of both the Australasian Region of the International Biometric Society and the New Zealand Statistical Association, on the Editorial Board of The New Zealand Veterinary Journal and an honorary academic at the University of Auckland. She has a PhD in statistics from the University of St Andrew.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Related articles

How much of the variation in your field trial comes from the treatments, and how much comes from...
What should you do when count data are more variable than your model expects? Vanessa Cave and David...
Precision breeding can deliver scientifically impressive traits, but practical value depends on more than technical success. Owen McIntosh...