Tutorials › Nonlinear Mixed-Effects Models (NLME) › Choosing Between Correlated Covariates

Covariate Model Building Strategies · Tutorial 476 of 797

Choosing Between Correlated Covariates

Compare correlated covariates using scientific relevance, conditional precision, model fit, and prediction—not merely the order in which a search procedure selects them.

Intermediate 12 min read

What You'll Learn

  • Explain why correlated covariates can make their separate conditional effects imprecise.
  • Compare covariate models only when their data, structural model, and estimation setup are appropriate for comparison.
  • Interpret coefficient estimates and standard errors in a joint model with correlated predictors.
  • Use information criteria and independent prediction error as evidence, not automatic decision rules.
  • Choose a covariate representation that is scientifically interpretable and supported by the observed data.
  • Recognize when the data cannot reliably distinguish between competing covariates.

Why Correlated Covariates Require Deliberate Choice

Body weight and age, or renal function and a related laboratory measure, may carry overlapping information about a pharmacokinetic parameter. If two covariates move together in the study population, a model may predict well while being uncertain about how much of the association belongs to each covariate separately. The challenge is therefore not simply to identify which candidate gives the smallest p-value or enters a search first. It is to decide which covariate representation is scientifically defensible, estimable from the available data, and useful for the intended predictions.

The question is conditional: does a covariate contribute information about the parameter after accounting for the other covariates in the model? A strong relationship between a covariate and an outcome when considered alone need not imply a precise, distinct effect once a correlated covariate is included. Conversely, a weak conditional estimate can reflect limited information for separating two predictors rather than evidence that neither is scientifically relevant.

Definition: Covariates \(x_1\) and \(x_2\) are correlated in the analyzed population when their observed values tend to vary together. In a covariate model, the conditional effect of \(x_1\) is its modeled relationship with a parameter while the other included covariates are held fixed. When covariates are strongly correlated, the data may contain little information about comparisons that hold one fixed while changing the other.

Model and Assumptions for a Fair Choice

For illustration, suppose a subject-specific clearance parameter is modeled on the log scale. For subject \(i\), let \(x_{Wi}\) be centered body weight in units of 10 kg and \(x_{Ai}\) be centered age in units of 10 years. A candidate model containing both is

$$ \log(CL_i)=\log(CL_{\mathrm{ref}})+\beta_W x_{Wi}+\beta_A x_{Ai}+\eta_i, \qquad Y_{ij}=f(t_{ij},CL_i,\ldots)+\epsilon_{ij}. $$

Here \(CL_{\mathrm{ref}}\) is typical clearance at the chosen covariate reference values, \(\beta_W\) and \(\beta_A\) are fixed covariate coefficients, \(\eta_i\) is a subject-level random effect, and \(Y_{ij}\) is the observation at time \(t_{ij}\). The function \(f\) represents the pharmacokinetic model. In this specification, a one-unit increase in \(x_{Wi}\), holding age fixed, multiplies typical clearance by \(\exp(\beta_W)\). The same interpretation applies to age through \(\exp(\beta_A)\). These are conditional model interpretations, not claims that changing a person's weight or age would cause the predicted change.

A meaningful comparison presumes that the candidate models use the same subjects and observations, the same structural pharmacokinetic model, and comparable random-effects and residual-error assumptions. Estimation should be successful and the likelihoods should refer to the same data and likelihood convention. If these conditions differ, an apparent improvement may be due to the changed analysis rather than the covariate choice. Covariate measurements should also be sufficiently reliable and their units and reference values clearly defined.

Correlation itself does not violate the model. It does, however, make conditional effects harder to estimate. The following short derivation explains the basic mechanism in a simple linear setting; in a nonlinear mixed-effects model (NLME), the same issue appears through the information available in the likelihood, though the exact precision depends on the full model and design.

Justification: In a linear regression with two standardized predictors having correlation \(r\), the variance inflation factor for either coefficient is \(1/(1-r^2)\), relative to the corresponding variance when the predictors are uncorrelated and the other conditions are unchanged. The predictor information matrix, apart from a common scale factor, is
$$ \begin{pmatrix} 1 & r\\ r & 1 \end{pmatrix}. $$

Its inverse is

$$ \frac{1}{1-r^2} \begin{pmatrix} 1 & -r\\ -r & 1 \end{pmatrix}, \qquad |r|<1. $$

Thus the coefficient variances are inflated by \(1/(1-r^2)\), and their standard errors by \(1/\sqrt{1-r^2}\). As \(|r|\) approaches 1, the information matrix becomes nearly singular: many combinations of the two coefficients can produce similar fitted values. This is a useful explanation, not an exact NLME standard-error formula. In an NLME model, local likelihood curvature, within-subject sampling, random effects, and the structural model also determine precision.

Worked Example: How Correlation Inflates Uncertainty

Suppose 120 hypothetical subjects have standardized weight and age covariates with sample correlation \(r=0.92\). Use the two-predictor linear approximation to quantify the information problem.

The variance inflation factor is

$$ \mathrm{VIF}=\frac{1}{1-r^2} =\frac{1}{1-0.92^2} =\frac{1}{1-0.8464} =\frac{1}{0.1536} \approx 6.510. $$

The corresponding standard-error multiplier is \(\sqrt{6.510}\approx 2.552\). Thus, under the stated approximation, the coefficient standard errors are about 2.55 times those in the uncorrelated-predictor comparison. This does not establish that either covariate is irrelevant, nor does it predict the exact standard errors in an NLME fit. It warns that the study may not precisely separate their conditional effects.

Combining Scientific Relevance, Precision, and Fit

Scientific relevance helps determine which conditional effect is meaningful to estimate. Consider whether a candidate covariate has a plausible relationship to the parameter, whether it is measured at the relevant time, and whether its intended use matches the model interpretation. A covariate that is merely a proxy for another may be useful for prediction in a similar population, yet less transportable if the relationship between the proxy and the underlying physiology changes.

Data support matters just as much. Examine the covariates' joint distribution, their range, and whether there are enough subjects with differing combinations of their values. If nearly every heavier subject is also older, the data provide few comparisons of heavier versus lighter subjects at the same age. The joint coefficients may consequently have large standard errors, unstable signs, or strong dependence on modeling choices. A small standard error in a single-covariate model does not resolve this issue: that model's coefficient can absorb the association carried by both predictors.

Fit statistics can summarize how well candidate models balance fit and complexity, but they are not substitutes for these judgments. For example, the Akaike information criterion is \(\mathrm{AIC}=2k-2\ell\), where \(k\) is the number of estimated parameters and \(\ell\) is the maximized log likelihood. When models are fit comparably to the same data, a smaller AIC is evidence favoring the model's expected information performance under the criterion; it is not a probability that the model is true. Small differences should not be treated as decisive, particularly when the scientific interpretations differ.

Worked Example: A Joint Model Reveals Limited Separation

In a hypothetical analysis of 180 subjects, weight and age have correlation 0.90. A model for log clearance uses \(x_W\), weight centered and scaled per 10 kg, and \(x_A\), age centered and scaled per 10 years. In the joint model, suppose the estimates are \(\hat{\beta}_W=0.095\) with \(SE=0.055\), and \(\hat{\beta}_A=-0.025\) with \(SE=0.060\).

For a 10 kg increase in weight at fixed age, the estimated clearance multiplier is \(\exp(0.095)\approx1.100\), or about a 10.0% increase. For a 10-year increase in age at fixed weight, it is \(\exp(-0.025)\approx0.9753\), or about a 2.47% decrease. These estimates describe the fitted conditional relationships; the uncertainty is substantial relative to each coefficient. For example, the estimate-to-standard-error ratios are \(0.095/0.055\approx1.73\) for weight and \(-0.025/0.060\approx-0.417\) for age. Neither ratio alone establishes that the other covariate is unimportant.

Suppose separate single-covariate models give log likelihoods of \(-820.4\) for age alone and \(-819.9\) for weight alone, while the joint model gives \(-819.6\). Let the models have respectively 6, 6, and 7 estimated parameters, counting all common model parameters. Then

$$ \begin{aligned} \mathrm{AIC}_{\mathrm{age}}&=2(6)-2(-820.4)=1652.8,\\ \mathrm{AIC}_{\mathrm{weight}}&=2(6)-2(-819.9)=1651.8,\\ \mathrm{AIC}_{\mathrm{joint}}&=2(7)-2(-819.6)=1653.2. \end{aligned} $$

The weight-only model has the smallest AIC in this comparison, but its advantage is only 1.0 AIC unit over the age-only model. The joint model's likelihood is highest, yet its additional parameter does not yield a smaller AIC. These figures do not settle which covariate should be retained. The decision should also reflect the scientific question, the high correlation, coefficient precision, and whether the single-covariate representation is appropriate for the intended use.

Prediction as a Separate Criterion

A covariate can be useful for prediction even when its conditional coefficient is difficult to distinguish from that of a correlated alternative. Conversely, a model with a slightly better fit to the estimation data may not predict better for new subjects. Prediction should be assessed for the target of interest and on observations not used to estimate or choose the model. For example, predicting typical clearance from covariates for new subjects is different from predicting their individual concentration profiles after their own concentration data have been observed.

One simple measure for predictions of log clearance is root mean squared error (RMSE): for \(m\) evaluation subjects, it is the square root of the average squared difference between observed and predicted log clearance. The compared predictions must target the same quantity and be evaluated on the same subjects. An evaluation set that is too small or unlike the intended population can make apparent differences uninformative. Prediction error also does not by itself establish that a covariate's coefficient has a stable mechanistic interpretation.

Worked Example: Comparing Prediction Error on New Subjects

Suppose three prespecified models are fit using one hypothetical dataset and then used to predict log clearance for the same 40 new subjects in an independent evaluation dataset. The RMSE values are 0.184 for weight alone, 0.191 for age alone, and 0.189 for the joint model, all in log-clearance units.

For weight alone, the sum of squared prediction errors is \(40(0.184^2)=40(0.033856)=1.35424\). For age alone, it is \(40(0.191^2)=40(0.036481)=1.45924\). For the joint model, it is \(40(0.189^2)=40(0.035721)=1.42884\). Weight alone has the lowest RMSE in this evaluation. The difference from the joint model is \(0.189-0.184=0.005\) log units, which is small; this example alone does not show that weight is reliably superior in other populations.

If the prediction target is clearance rather than log clearance, the evaluation should use an appropriately defined clearance-scale error measure instead. The scale matters because an error of a given size on the log scale corresponds to a multiplicative difference on the clearance scale.

Practical Comparison and Failure Modes

The main alternatives are to use one covariate, include both, or use a scientifically justified representation that combines or replaces correlated measurements. A one-covariate model is often easier to interpret and may be more precise, but its coefficient can represent the combined association of omitted correlated predictors. A joint model can estimate distinct conditional effects when the data contain enough independent variation, but may be imprecise when they do not. A composite measure or a mechanistically motivated alternative can be appropriate when it has a defensible scientific meaning and is defined before interpreting its fit; combining variables solely to make a preferred result appear is not a sound solution.

Common warning signs include large standard errors in the joint model, estimates that change markedly between single and joint models, implausible conditional interpretations, and nearly indistinguishable fit or prediction results across alternatives. These signs call for cautious conclusions. They are not proof of a software failure. Check convergence, parameter uncertainty, the covariate distributions, and whether the fit is genuinely comparable. If the data cannot separate the covariates, report that limitation and avoid presenting a weakly identified conditional effect as a precise scientific finding.

A frequent mistake is: “Weight entered the stepwise model first, so weight is the important covariate and age can be ignored.” Entry order is not evidence that one predictor is uniquely responsible for the association, especially when the candidates are correlated. The correction is to compare scientifically defensible models using the same data and modeling assumptions, inspect conditional precision, and consider performance for the intended prediction target. Selection results are evidence to weigh, not a verdict about biological importance or causation.

Key takeaway: When covariates are correlated, separate conditional effects may be weakly identified even if the model predicts adequately. Choose a covariate representation using scientific relevance, data support, precision, and prediction together; report uncertainty when the data cannot distinguish competing explanations.

Check Your Understanding

Use the explanations above to answer these questions; concise solutions follow each problem.

  1. Two standardized covariates have correlation \(r=0.80\). What is the approximate variance inflation factor in the two-predictor linear setting?
  2. Why might a covariate have a precise estimate in a single-covariate model but an imprecise estimate in the joint model?
  3. A joint model has a higher maximized likelihood than a one-covariate model. Does that alone show it should be preferred by AIC? Explain.
  4. What does a lower RMSE on an independent evaluation set indicate, and what does it not establish?

Solutions. (1) \(\mathrm{VIF}=1/(1-0.80^2)=1/0.36\approx2.778\). (2) The single-covariate coefficient can absorb association shared with the omitted predictor; the joint model must estimate conditional effects, which may be weakly separated when the predictors are correlated. (3) No. AIC also penalizes the number of estimated parameters: \(\mathrm{AIC}=2k-2\ell\). (4) It indicates lower average squared prediction error, on the scale and for the subjects evaluated. It does not prove a stable coefficient interpretation, a causal effect, or superior performance in every target population.