Covariance Structure
Study guide: Exam MAS-II
A Covariance Structure is the pattern a linear mixed model imposes on the covariance of each cluster's responses, which says which observations are correlated and how the correlation changes. The implied marginal covariance matrix of cluster i is
\mathbf{V}_i = \mathbf{Z}_i\mathbf{D}\mathbf{Z}_i^T + \mathbf{R}_i
\mathbf{D}is the covariance matrix of the random effects\mathbf{u}_i.\mathbf{R}_iis the covariance matrix of the residuals\boldsymbol{\varepsilon}_i.
The common structures for \mathbf{R}_i (or \mathbf{D}), for n repeated measures with variance \sigma^2, are:
| Structure | Covariance of measures j \ne k |
Parameters |
|---|---|---|
| Scaled identity (independent) | 0 |
1 |
| Compound symmetry | one common covariance | 2 |
| First-order autoregressive, AR(1) | \sigma^2\rho^{\lvert j-k\rvert} |
2 |
| Toeplitz (banded) | depends only on \lvert j - k \rvert |
n |
| Unstructured | each free | n(n+1)/2 |
A scaled identity \mathbf{R}_i = \sigma^2\mathbf{I} gives every residual the same variance and makes residuals of the same subject uncorrelated, with only \sigma^2 to estimate. Compound symmetry gives every pair of observations of a subject the same covariance. Under AR(1) the correlation at lag k is \rho^k, so successive off-diagonals are \sigma^2\rho, \sigma^2\rho^2, and so on, and a positive \rho makes every covariance positive. A banded structure has covariance depending only on lag but zero beyond a certain lag. An unstructured matrix imposes no pattern and estimates each variance and covariance.
A residual covariance matrix for three equally spaced measures has diagonal 4, lag-1 entries 2 and lag-2 entry 1. Is it AR(1)?
- The lag-1 correlation is
2/4 = 0.5, so AR(1) predicts a lag-2 covariance of4(0.5^2) = 1.- The lag-2 entry is 1, so the matrix is AR(1) with
\sigma^2 = 4and\rho = 0.5.
For repeated trials on the same subject, residuals are expected to be correlated, so compound symmetry or AR(1) replaces the scaled identity.
Random intercept and compound symmetry
Under a random intercept model, each observation's marginal variance is the sum of the between-subject and within-subject variances, and the covariance of two observations of a subject is the between-subject variance. A random intercept therefore implies compound symmetry. The random intercept constrains the common correlation to be positive, while a compound-symmetric residual structure leaves it unconstrained. Under compound symmetry for \mathbf{D}, all its diagonal elements are equal and all its off-diagonal elements equal one common covariance.
Dimension of D
\mathbf{D} holds one row and column per random effect, that is per column of \mathbf{Z}_i. With q random-effect columns, \mathbf{u}_i is q \times 1 and \mathbf{D} is q \times q.
A model has a random intercept and two random slopes per subject. What is the size of
\mathbf, and how many parameters does it hold if unstructured?
- There are
q = 3random effects, so\mathbf{D}is3 \times 3.- Unstructured, it holds 3 variances and 3 covariances:
3(4)/2 = 6parameters.- The number of fixed effects and the number of observations do not enter it.
The implied marginal model
A marginal model has no random effects. It specifies the covariance of the observations directly through the residual covariance matrix, with \mathbf{V}_i = \mathbf{R}_i. It is not held to the random-effects model's constraints, so it can be fitted where the mixed model cannot, for instance when the data call for a negative within-subject correlation.
Choosing a covariance structure
More structure means fewer parameters and more power. The wrong structure biases the standard errors of the fixed effects even when \hat{\boldsymbol{\beta}} is fine, and assuming independence for correlated data understates them. REML-based likelihood ratio tests compare nested covariance structures when the fixed effects are the same in both models. Non-nested structures are compared by AIC.
Quarterly loss ratios have empirical correlations
0.62,0.38and0.24at lags 1, 2 and 3. Does compound symmetry or AR(1) fit?
- Compound symmetry predicts one common correlation, but the observed values decay.
- AR(1) with
\rho = 0.62predicts0.62,0.384and0.238, almost exactly the observed values.- AR(1) fits, at the same two-parameter cost as compound symmetry.
Practice questions
- CAS Exam MAS-II Fall 2018, Question 1
- CAS Exam MAS-II Fall 2018, Question 7
- CAS Exam MAS-II Fall 2018, Question 9
- CAS Exam MAS-II Fall 2018, Question 13
- CAS Exam MAS-II Fall 2019, Question 1
- CAS Exam MAS-II Fall 2019, Question 2
- CAS Exam MAS-II Fall 2019, Question 8
- CAS Exam MAS-II Fall 2019, Question 12
- CAS Exam MAS-II Fall 2019, Question 13
- CAS Exam MAS-II Fall 2019, Question 15
- CAS Exam MAS-II Spring 2019, Question 2
- CAS Exam MAS-II Spring 2019, Question 9
- CAS Exam MAS-II Spring 2019, Question 10
- CAS Exam MAS-II Spring 2019, Question 14
- CAS Exam MAS-II Spring 2019, Question 32