Tutorials › Optimal Design and Model-Informed Dosing › Within-Subject Correlation in the Population Fisher Matrix

Population Design and the Population Fisher Matrix · Tutorial 94 of 497

Within-Subject Correlation in the Population Fisher Matrix

Learn to build a repeated-measurement covariance matrix and trace how its off-diagonal terms affect approximate information for population parameters.

Advanced 12 min read

What You'll Learn

  • Build the approximate observation covariance from random-effect and residual components.
  • Distinguish within-subject covariance from standardized correlation.
  • Use a Gaussian Fisher information formula when both the mean and covariance depend on parameters.
  • Calculate how correlation changes information about a population mean and a time trend.
  • Diagnose covariance assumptions and identify when a working independence model is misleading.

Why the Off-Diagonal Entries Matter

Repeated observations on one subject share sources of variation. A subject-specific random effect can move all of that subject’s measurements together, while correlated residual errors can make nearby observations more alike than distant ones. These dependencies appear as off-diagonal entries in the covariance matrix of the subject’s observation vector. They affect how much independent information the observations contain, and which population features they inform.

The effect is not always a simple loss of information. Positive correlation can make repeated measurements less informative about a common population level, because they tend to move together. But it can make a within-subject contrast more precise when the shared component cancels in that contrast. The impact depends on the parameter being estimated and on how the design maps parameters into observations.

Constructing the Approximate Observation Covariance

For subject \(i\), let \(y_i\) be the vector of \(m_i\) measurements at the planned observation times. Write the model as \(y_i=f_i(\theta,\eta_i)+\epsilon_i\), where \(\theta\) denotes population parameters, \(\eta_i\) is a mean-zero vector of subject-specific random effects with covariance \(\Omega\), and \(\epsilon_i\) is a mean-zero residual vector with covariance \(R_i\). Assume random effects and residual errors are independent, and that different subjects are independent.

A first-order approximation expands the individual prediction around the mean random effect, \(\eta_i=0\). Define \(Z_i\) as the matrix of derivatives of the predicted observations with respect to the random effects, evaluated at that point. The resulting approximate model is \(y_i\approx f_i(\theta,0)+Z_i\eta_i+\epsilon_i\). Its observation covariance is

$$ V_i \approx Z_i\Omega Z_i^\mathsf{T}+R_i. $$

The first term is covariance induced by random effects; the second is residual covariance. In particular, for observations \(j\) and \(k\), the approximate covariance is \(z_{ij}\Omega z_{ik}^\mathsf{T}+(R_i)_{jk}\), where \(z_{ij}\) and \(z_{ik}\) are the corresponding rows of \(Z_i\). Their correlation is this covariance divided by the product of their marginal standard deviations. A covariance matrix and a correlation matrix are therefore related but not interchangeable.

Definition: The first-order approximate observation covariance is \(V_i=Z_i\Omega Z_i^\mathsf{T}+R_i\). It describes the joint variability of a subject’s repeated observations after accounting for random-effect and residual variation under the local linear approximation. Its off-diagonal entries describe within-subject covariance.

This approximation requires a differentiable individual prediction function near \(\eta_i=0\), finite random-effect and residual covariance matrices, and a valid joint covariance: \(V_i\) must be symmetric and positive definite for the inverse-based Fisher information below. It is a local approximation; strong nonlinear effects of random effects can make it inaccurate. Residual independence is not required: it is represented by diagonal \(R_i\) only when that assumption is appropriate.

How Covariance Enters Population Information

Under the approximate multivariate normal model \(y_i\sim N(\mu_i,V_i)\), let \(\mu_i\) be the approximate marginal mean and let \(\psi\) collect the population parameters of interest. Write \(\mu_{i,a}=\partial\mu_i/\partial\psi_a\) and \(V_{i,a}=\partial V_i/\partial\psi_a\). For a differentiable mean and covariance and nonsingular \(V_i\), the expected Fisher information contributed by subject \(i\) has entries

$$ \mathcal I_{i,ab} = \mu_{i,a}^\mathsf{T}V_i^{-1}\mu_{i,b} +\frac{1}{2}\operatorname{tr}\!\left(V_i^{-1}V_{i,a}V_i^{-1}V_{i,b}\right). $$

The first term is information carried by changes in the mean, weighted by the inverse observation covariance. The second term is information carried by changes in the covariance itself. If a parameter affects only the mean, its covariance derivative is zero and the second term disappears. If a parameter affects both, both terms contribute. For independent subjects, their information matrices add.

The inverse covariance weights directions in the observation vector differently. A pattern that varies strongly under \(V_i\) receives less weight; a pattern with little variability receives more. Thus, off-diagonal entries matter even if every observation has the same marginal variance: they change the variability of averages, contrasts, and other patterns in the data.

A Short Justification of the Fisher Formula

For one subject, the multivariate normal log likelihood, omitting constants, is \(-\tfrac12\log|V_i|-\tfrac12(y_i-\mu_i)^\mathsf{T}V_i^{-1}(y_i-\mu_i)\). Differentiating with respect to \(\psi_a\) gives a mean score \(\mu_{i,a}^\mathsf{T}V_i^{-1}(y_i-\mu_i)\) and a covariance score

$$ \frac{1}{2}\left[ (y_i-\mu_i)^\mathsf{T}V_i^{-1}V_{i,a}V_i^{-1}(y_i-\mu_i) -\operatorname{tr}(V_i^{-1}V_{i,a}) \right]. $$

Under the model, \(y_i-\mu_i\) has mean zero and covariance \(V_i\). The expected product of the mean and covariance scores is zero because it involves centered third moments of a multivariate normal vector. The expected product of two mean scores is \(\mu_{i,a}^\mathsf{T}V_i^{-1}\mu_{i,b}\). For the covariance scores, the centered quadratic-form identity gives one half of \(\operatorname{tr}(V_i^{-1}V_{i,a}V_i^{-1}V_{i,b})\). Adding these expected score products yields the stated information. The argument depends on the approximate normal model and does not assert that the original nonlinear mixed-effects model is exactly normal after marginalization.

Worked Example: Correlation and Information About a Common Mean

Worked Example: Correlation and Information About a Common Mean

Suppose a hypothetical design measures each subject twice. The model has a random intercept with variance \(4\ \text{units}^2\), residual variance \(9\ \text{units}^2\), and residual correlation \(0.50\) between the two measurements. Treat these covariance parameters as known, and estimate a common population mean \(\mu\). The random intercept induces covariance \(4\ \text{units}^2\), and the correlated residuals induce covariance \(0.50(9)=4.5\ \text{units}^2\). Therefore

$$ V= \begin{pmatrix} 13 & 8.5\\ 8.5 & 13 \end{pmatrix} \ \text{units}^2, \qquad \frac{\partial\mu_i}{\partial\mu}= \begin{pmatrix}1\\1\end{pmatrix}. $$

Because the covariance is fixed with respect to \(\mu\), information about \(\mu\) is \(1^\mathsf{T}V^{-1}1\). The vector \((1,1)^\mathsf{T}\) is an eigenvector of \(V\) with eigenvalue \(13+8.5=21.5\ \text{units}^2\). Hence

$$ \mathcal I_{\mu\mu} = \frac{2}{21.5} = 0.09302\ \text{units}^{-2}. $$

For comparison, keep the same marginal variances and random-intercept covariance but set residual correlation to zero. The off-diagonal covariance is then \(4\ \text{units}^2\), so the common-direction eigenvalue is \(13+4=17\ \text{units}^2\), and the information is \(2/17=0.1176\ \text{units}^{-2}\). In this example, positive residual correlation reduces information about the common mean: the two observations move together more, so their average varies more. This comparison changes residual correlation while holding the marginal variances fixed.

Worked Example: Building a Random-Intercept-and-Slope Covariance

Worked Example: Building a Random-Intercept-and-Slope Covariance

Consider a hypothetical subject measured at times \(t=0,1,2\) hours. The local random-effects model is \(b_{0i}+b_{1i}t\), with random-intercept variance \(4\), random-slope variance \(1\) per hour squared, and intercept-slope covariance \(1\) in the corresponding units. Thus \(\Omega=\begin{pmatrix}4&1\\1&1\end{pmatrix}\), and the random-effect design matrix has rows \((1,0),(1,1),(1,2)\).

The random-effect variances at the three times are \(4\), \(4+2(1)+1=7\), and \(4+2(2)(1)+2^2(1)=12\). The random-effect covariances for the pairs \((0,1),(0,2),(1,2)\) are \(5,6,9\), respectively, obtained by multiplying each pair of design rows by \(\Omega\). Suppose residual variance is \(4\) and residual correlation is AR(1) with correlation \(0.50\) per one-hour lag. The residual variances are all \(4\); residual covariances are \(2\) at a one-hour lag and \(1\) at a two-hour lag. Adding the two components gives

$$ Z_i\Omega Z_i^\mathsf{T} = \begin{pmatrix} 4&5&6\\ 5&7&9\\ 6&9&12 \end{pmatrix}, \quad R_i= \begin{pmatrix} 4&2&1\\ 2&4&2\\ 1&2&4 \end{pmatrix}, \quad V_i= \begin{pmatrix} 8&7&7\\ 7&11&11\\ 7&11&16 \end{pmatrix}. $$

For example, the covariance between the observations at hours 1 and 2 is \(9+2=11\), not just the random-effect contribution \(9\). The diagonal entries are marginal variances, while the off-diagonal entries combine shared random-effect and correlated-residual contributions. This matrix is the object to use in the approximate population likelihood and information calculation for this subject.

Correlation Can Help a Contrast

Worked Example: Information About a Two-Time Trend

Suppose two hypothetical measurements occur at \(t=0\) and \(t=1\) hour, with mean \(\alpha+\beta t\), a random intercept of variance \(\tau^2\), and residual variance \(9\ \text{units}^2\). Assume residual correlation \(\rho=0.60\) between the measurements. The random intercept contributes equally to both measurements and disappears from their difference. The residual variance of the difference is

$$ \operatorname{Var}(y_{i2}-y_{i1}) =9+9-2(0.60)(9) =7.2\ \text{units}^2. $$

The difference has mean \(\beta\) because the times are one hour apart. With two observations and two unrestricted mean parameters \(\alpha\) and \(\beta\), the slope is exactly represented by that difference. Its information is the reciprocal of its variance:

$$ \mathcal I_{\beta\beta\mid\alpha} = \frac{1}{7.2} = 0.1389\ \text{hour}^2\text{units}^{-2}. $$

If residual correlation were zero with the same marginal residual variances, the difference variance would be \(9+9=18\ \text{units}^2\), and the slope information would be \(1/18=0.05556\ \text{hour}^2\text{units}^{-2}\). Here positive correlation improves information about the within-subject trend because the shared residual movement largely cancels in the contrast. The comparison illustrates why correlation cannot be described as uniformly helpful or harmful.

Diagnostics, Alternatives, and Limitations

Before using a proposed covariance matrix, check that it is symmetric, has positive diagonal entries, and is positive definite for calculations that require \(V_i^{-1}\). Check the model’s implied correlations against the measurement process: random intercepts tend to induce shared covariance, random slopes can make covariance depend on the observation times, and residual correlation can decay with lag or follow another specified structure. A mathematically valid matrix can still be a poor description of the data-generating process.

A common failure is to use a diagonal \(R_i\) simply because each measurement has a residual variance. That assumes residual errors are uncorrelated across the subject’s observations. If this is false, the diagonal model generally gives the wrong weighting of averages and contrasts, and can misstate information for population parameters. Compare plausible residual structures and inspect within-subject residual patterns; sensitivity of the information calculation to those choices is itself useful design information.

The first-order covariance approach is a practical local approximation, not a universal replacement for the nonlinear model. It may be unreliable when random effects are large, the prediction function is strongly curved over their distribution, or the residual distribution is far from the assumed normal form. A conditional analysis that treats random effects as known targets a different information calculation; it should not be substituted for marginal population information without stating the change in target. More elaborate marginal calculations may be needed when the first-order approximation is inadequate.

  • Mistake: “Each subject has two observations, so there are twice as many independent pieces of information.”
    Correction: Repeated measurements are not independent when \(V_i\) has off-diagonal entries. Their contribution depends on the covariance and on the parameter-sensitive pattern of the observations.
  • Mistake: “Positive correlation always lowers information.”
    Correction: It often lowers information about a common level at fixed marginal variance, but it can increase information about a contrast if shared variation cancels.
  • Mistake: “The random-effect covariance alone is the observation covariance.”
    Correction: Add the residual covariance \(R_i\); both components contribute to the joint distribution of observations.
Key takeaway: Construct the full within-subject covariance before calculating population information. Its off-diagonal entries determine which combinations of repeated observations are noisy and which are precise; their effect depends on the population parameter and design.

Check Your Understanding

Answer each question, then compare with the brief solutions below.

  1. A random intercept has variance \(3\), residual variance is \(5\), and residual correlation between two measurements is \(0.40\). What are the marginal variances and their covariance?
  2. Why does positive residual correlation at fixed marginal variance reduce information about a common mean in a two-measurement design?
  3. In the two-time trend example, what happens to the random-intercept contribution in the observation difference?
  4. Name two assumptions behind the first-order approximate covariance \(V_i=Z_i\Omega Z_i^\mathsf{T}+R_i\).

Solutions. (1) Each marginal variance is \(3+5=8\); the covariance is \(3+0.40(5)=5\), so \(V=\begin{pmatrix}8&5\\5&8\end{pmatrix}\). (2) The variance of the common-direction average is larger when the covariance is larger, so its inverse-variance information is smaller. (3) It cancels because the same random intercept is added to both observations, and subtracting them gives \(b_{0i}-b_{0i}=0\). (4) Examples include differentiability of the prediction function near zero random effects, finite covariance matrices, independence of random effects and residual errors, and a valid positive-definite observation covariance.

Clinical Biostats