Tutorials › Population Pharmacokinetics › Correlation Between Interindividual And Interoccasion Effects

Random-Effect Structure and Error Models · Tutorial 144 of 599

Correlation Between Interindividual And Interoccasion Effects

Learn how interindividual–interoccasion correlation changes the covariance structure of a PK model and what data are needed to estimate it separately from the two variances.

Intermediate 11 min read

What You'll Learn

  • Write a joint distribution for interindividual and interoccasion random effects.
  • Convert their correlation into a covariance on the model’s parameter scale.
  • Derive the variance within an occasion and covariance across occasions.
  • Recognize when repeated observations do not identify correlation separately from variances.
  • Identify design features and diagnostics that support or challenge estimation of the correlation.

Why Correlation Between Random-Effect Levels Matters

A subject-level random effect represents a persistent difference between a person and the population. An occasion-level random effect represents a difference associated with one treatment occasion for that person. These effects need not be unrelated. For example, subjects with relatively high typical clearance might also show systematically higher or lower clearance on a particular occasion, relative to their own typical value. A model that assumes zero correlation rules out such a pattern; a model that estimates correlation allows it, but asks more of the data.

The key issue is not merely whether each variance can be estimated. A covariance model must distinguish the persistent component, the occasion-specific component, and their association. Repeated occasions are important, but repetition alone does not guarantee that all three quantities are separately identifiable.

Definition: Let \(\eta_i\) be a subject-level random effect and \(\kappa_{ij}\) an occasion-level random effect for subject \(i\) on occasion \(j\). Their covariance is \(\operatorname{Cov}(\eta_i,\kappa_{ij})\). Their correlation is \[ \rho=\frac{\operatorname{Cov}(\eta_i,\kappa_{ij})}{\sqrt{\operatorname{Var}(\eta_i)\operatorname{Var}(\kappa_{ij})}}, \] provided both variances are positive. Correlation is dimensionless; covariance has the product of the units of the two effects.

A Joint Model for Subject and Occasion Effects

Consider a positive PK parameter \(\theta_{ij}\), such as clearance, on the log scale. A simple repeated-occasion model is

$$ \log(\theta_{ij})=\log(\theta_{\mathrm{pop}})+\eta_i+\kappa_{ij}. $$

Here \(\theta_{\mathrm{pop}}\) is the typical value on the original scale, while \(\eta_i\) and \(\kappa_{ij}\) are mean-zero effects on the log scale. A joint normal model for one subject–occasion pair can be written

$$ \begin{pmatrix}\eta_i\\ \kappa_{ij}\end{pmatrix} \sim N\left[ \begin{pmatrix}0\\0\end{pmatrix}, \begin{pmatrix} \omega_I^2 & \rho\omega_I\omega_O\\ \rho\omega_I\omega_O & \omega_O^2 \end{pmatrix} \right]. $$

The subscripts \(I\) and \(O\) denote interindividual and interoccasion variability. Thus \(\omega_I^2=\operatorname{Var}(\eta_i)\), \(\omega_O^2=\operatorname{Var}(\kappa_{ij})\), and the covariance is \(\rho\omega_I\omega_O\). The matrix must be positive semidefinite, which requires \(-1\leq\rho\leq1\); a nondegenerate bivariate normal model uses \(-1<\rho<1\).

A complete repeated-occasion specification must also state how occasion effects relate across occasions. One coherent construction is

$$ \kappa_{ij}=\rho\frac{\omega_O}{\omega_I}\eta_i+ \omega_O\sqrt{1-\rho^2}\,\varepsilon_{ij}, \qquad \varepsilon_{ij}\sim N(0,1), $$

where \(\omega_I>0\), and the \(\varepsilon_{ij}\) are mutually independent and independent of \(\eta_i\). This construction gives the stated marginal variance and covariance for each pair \((\eta_i,\kappa_{ij})\). It also makes clear that, when \(\rho\neq0\), occasion effects for the same subject are not marginally independent: they share a component associated with \(\eta_i\). The model must account for that dependence rather than silently treating all occasion effects as mutually independent.

Worked Example: Converting Correlation to Covariance

Suppose, hypothetically, that the standard deviations of the subject and occasion effects on log clearance are \(\omega_I=0.30\) and \(\omega_O=0.40\), and the proposed correlation is \(\rho=-0.50\). Find the covariance and check that the pairwise covariance matrix is valid.

The covariance is the correlation multiplied by both standard deviations:

$$ \operatorname{Cov}(\eta_i,\kappa_{ij}) =\rho\omega_I\omega_O =(-0.50)(0.30)(0.40)=-0.0600. $$

The variances are \(0.30^2=0.0900\) and \(0.40^2=0.160\). The determinant of the covariance matrix is

$$ (0.0900)(0.160)-(-0.0600)^2 =0.0144-0.0036=0.0108>0. $$

The diagonal variances are positive and the determinant is positive, so this two-effect covariance matrix is positive definite. The negative sign means that larger-than-typical subject effects tend to be paired with lower-than-typical occasion effects, not that clearance itself must decrease on every occasion. Both effects are on the log-clearance scale.

What the Correlation Does to Repeated Occasions

The random deviation in log clearance on occasion \(j\) is \(d_{ij}=\eta_i+\kappa_{ij}\). Its variance within one occasion follows by expanding the variance of a sum:

$$ \operatorname{Var}(d_{ij}) =\omega_I^2+\omega_O^2+2\rho\omega_I\omega_O. $$

The covariance term appears twice because \(\operatorname{Var}(X+Y)=\operatorname{Var}(X)+\operatorname{Var}(Y)+2\operatorname{Cov}(X,Y)\). Positive correlation increases the variability of the sum; negative correlation can reduce it. Consequently, a fitted total variability cannot be interpreted as the simple sum of the two component variances unless the covariance is zero.

Under the conditional construction above, the cross-occasion covariance of the total deviations is also informative. Substituting the construction into \(d_{ij}\) gives

$$ d_{ij} =\left(1+\rho\frac{\omega_O}{\omega_I}\right)\eta_i +\omega_O\sqrt{1-\rho^2}\,\varepsilon_{ij}. $$

For two distinct occasions \(j\neq k\), the independent \(\varepsilon\) terms have zero covariance with each other and with \(\eta_i\). Therefore,

$$ \operatorname{Cov}(d_{ij},d_{ik}) =\left(1+\rho\frac{\omega_O}{\omega_I}\right)^2\omega_I^2 =\omega_I^2+2\rho\omega_I\omega_O+\rho^2\omega_O^2. $$

The within-occasion variance exceeds this cross-occasion covariance by \((1-\rho^2)\omega_O^2\), the variance of the occasion-specific innovation in this construction. Correlation therefore changes both the total variability on an occasion and the dependence between a subject’s occasions.

Worked Example: Within- and Cross-Occasion Variability

Use the hypothetical values \(\omega_I=0.30\), \(\omega_O=0.40\), and \(\rho=-0.50\). Calculate the variance of the log-clearance deviation on one occasion and its covariance across two distinct occasions.

For one occasion,

$$ \operatorname{Var}(d_{ij}) =0.0900+0.160+2(-0.50)(0.30)(0.40) =0.250-0.120=0.130. $$

For two distinct occasions,

$$ \operatorname{Cov}(d_{ij},d_{ik}) =0.0900-0.120+(-0.50)^2(0.160) =0.0900-0.120+0.0400=0.0100. $$

The result is a within-occasion variance of \(0.130\) and a cross-occasion covariance of \(0.0100\), both on the squared log-clearance scale. The negative association largely cancels the persistent component in the total deviation. A small cross-occasion covariance does not, by itself, prove that interindividual variability is small: it may also reflect cancellation due to negative correlation.

When Can the Correlation Be Distinguished?

The assumptions needed for interpreting \(\rho\) include a suitable random-effect distribution, a correct mapping from effects to the PK observations, and a specified dependence structure across occasions. The design must also provide information that separates the three covariance parameters. At minimum, subjects generally need repeated occasions to reveal persistent versus occasion-varying patterns, and the occasions must contain informative concentration data for the parameter being modeled. If occasion effects are almost entirely hidden by sparse or uninformative sampling, their variance and covariance will be weakly informed.

There is a more fundamental limitation in a simple scalar model. If the observed data inform only the distribution of \(d_{ij}=\eta_i+\kappa_{ij}\), then within-occasion variance and cross-occasion covariance provide only two distinct covariance quantities. The model has three unknowns: \(\omega_I^2\), \(\omega_O^2\), and \(\rho\). Repeated measurements can estimate those two quantities precisely without identifying all three components. Additional information is needed—for example, other well-informed PK parameters whose random effects distinguish subject and occasion patterns, a design that separately informs the persistent and occasion components, or a justified constraint on part of the covariance model.

This is structural identifiability, not simply sample size. More subjects or more precise concentrations can reduce uncertainty when the model is identifiable, but cannot create a third independent covariance feature when the likelihood contains only two. Conversely, a rich design does not guarantee a useful estimate if the model is misspecified or the correlation is weakly informed.

Worked Example: Same Observed Covariances, Different Components

Suppose, hypothetically, that the scalar total deviations have estimated within-occasion variance \(0.130\) and cross-occasion covariance \(0.0100\), on the squared log scale. Show that these two quantities do not uniquely determine the component variances and correlation under the stated construction.

The values from the previous calculation are one solution: \(\omega_I^2=0.0900\), \(\omega_O^2=0.160\), and \(\rho=-0.50\). They give within-occasion variance \(0.130\) and cross-occasion covariance \(0.0100\).

A different solution is \(\omega_I^2=0.0100\), \(\omega_O^2=0.120\), and \(\rho=0\). With zero correlation, the cross-occasion covariance is simply \(\omega_I^2=0.0100\), and the within-occasion variance is

$$ 0.0100+0.120+2(0)(\sqrt{0.0100})(\sqrt{0.120})=0.130. $$

Thus both parameter sets reproduce the same two covariance features, despite having different variances and correlations. Under a Gaussian model, the distribution of these scalar totals is determined by those covariance features, so observing only these totals cannot distinguish the two solutions. The example illustrates why a correlation estimate needs design or model information beyond the repeated totals themselves.

Model Choice, Diagnostics, and Common Pitfalls

A diagonal structure sets \(\rho=0\), reducing the number of covariance parameters and often improving stability. It is appropriate when zero association is a defensible assumption or when the data cannot support estimation of the covariance. A correlated structure is more flexible, but should be used only when the data and design provide information to estimate the additional parameter. Fixing \(\rho\) to a scientifically justified value is another possibility, but it is an assumption and should be reported as such. The choice is not resolved by selecting whichever model returns a converged fit.

Useful checks include whether the estimated covariance matrix is positive definite, whether the correlation estimate is close to \(1\) or \(-1\), and whether its uncertainty is large or strongly dependent on other covariance estimates. Inspect likelihood profiles or other uncertainty summaries, and assess whether materially different covariance values produce nearly indistinguishable fits. Simulation-based checks using the actual design can reveal whether the proposed parameters can be recovered: simulate data at plausible values, refit the model, and examine bias, variability, and convergence.

Empirical Bayes estimates can help visualize subject and occasion patterns, but their shrinkage and estimation error mean their sample correlation is not automatically an estimate of the population correlation. The likelihood-based random-effects model, with appropriate uncertainty assessment, is the basis for inference. A numerical correlation reported by software is not evidence that the data identified it.

  • Pitfall: adding variances and ignoring covariance. The incorrect calculation is \(\operatorname{Var}(\eta_i+\kappa_{ij})=\omega_I^2+\omega_O^2\) for all models. The correction is to include \(2\rho\omega_I\omega_O\), unless the model explicitly sets \(\rho=0\).
  • Pitfall: treating repeated occasions as proof of identifiability. Repetition supplies cross-occasion information, but a scalar total may still provide too few distinct covariance features to estimate three parameters. Check identifiability under the full observation model and design.
  • Pitfall: interpreting correlation as causation. A nonzero \(\rho\) describes an association between random effects in the specified model. It does not establish a mechanism causing one effect to change the other.
Key takeaway: Correlation contributes \(2\rho\omega_I\omega_O\) to within-occasion variance and also affects cross-occasion dependence. Estimate it only when the design and observation model distinguish it from the interindividual and interoccasion variances.

Check Your Understanding

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

  1. If \(\omega_I=0.20\), \(\omega_O=0.50\), and \(\rho=0.30\), what is the covariance between the two effects?
  2. For those values, calculate the variance of \(\eta_i+\kappa_{ij}\) on one occasion.
  3. Why can repeated occasions fail to identify \(\omega_I^2\), \(\omega_O^2\), and \(\rho\) separately in a scalar additive model?
  4. Name one design or model feature that could provide information beyond the scalar total deviations.
  5. Why is the sample correlation of empirical Bayes estimates not automatically the population random-effect correlation?

Solutions. (1) The covariance is \((0.30)(0.20)(0.50)=0.0300\). (2) The variance is \(0.20^2+0.50^2+2(0.30)(0.20)(0.50)=0.0400+0.250+0.0600=0.350\). (3) The scalar totals may provide only within-occasion variance and cross-occasion covariance, two quantities for three unknown covariance parameters. (4) Examples include another well-informed PK parameter with distinguishable subject and occasion effects, or design information that separately informs the persistent and occasion components. (5) Empirical Bayes estimates are shrunken and uncertain; their sample correlation need not equal the population correlation and does not replace likelihood-based estimation.

Clinical Biostats