Tutorials › Nonlinear Mixed-Effects Models (NLME) › Building EBE-Based Individual Concentration Predictions

Shrinkage and Individual Predictions · Tutorial 515 of 797

Building EBE-Based Individual Concentration Predictions

Build individual concentration-time predictions by combining covariate-conditioned typical parameters with empirical Bayes estimates, and see how shrinkage changes the resulting profiles.

Advanced 10 min read

What You'll Learn

  • Distinguish a covariate-specific typical profile from an EBE-based individual profile.
  • Insert empirical Bayes estimates into a structural concentration model on the correct parameter scale.
  • Explain how shrinkage of an EBE toward zero changes a predicted concentration.
  • Calculate concentration predictions at single times and across a time grid.
  • Recognize why an EBE plug-in profile is not a confidence interval or a full predictive distribution.
  • Check predictions for common structural-model, covariate, and unit errors.

From Individual Parameter Estimates to Concentration Profiles

An empirical Bayes estimate (EBE) is useful because it can be inserted into a structural model to produce an individual concentration-time profile. The resulting curve is not a direct measurement of a person's complete concentration history. It is a model-based prediction, conditional on the fitted population parameters, that person's covariates, and their EBE.

The key comparison is between two profiles. The covariate-specific typical profile uses the typical parameters predicted for the person's covariates, with all individual random effects set to zero. The EBE-based profile uses the same covariate-conditioned parameters but includes the person's estimated random effects. Because EBEs can be shrunk toward zero, an EBE-based profile may be closer to the typical profile than a profile based on more individual information would be.

Definition: Let \(x_i\) denote the covariates for individual \(i\), \(\beta\) the population parameters, and \(\eta_i\) the vector of individual random effects. Write the individual structural parameters as \(\theta_i=g(x_i,\beta,\eta_i)\), and the structural concentration model as \(C_i(t)=f(t;\theta_i)\). The covariate-specific typical profile is \(f(t;g(x_i,\beta,0))\). The EBE-based plug-in profile is \(f(t;g(x_i,\beta,\hat{\eta}_i))\), where \(\hat{\eta}_i\) is the individual's empirical Bayes estimate.

This construction assumes that the fitted structural model is appropriate for the dosing history and time scale being used; the covariate model specifies the typical parameters correctly; and the random effects have the distribution and covariance structure assumed in the fitted model. The prediction also presumes that the relevant dose, covariates, and model parameter estimates are supplied consistently. An EBE-based curve is conditional on those inputs: it does not by itself show parameter uncertainty, uncertainty in the EBE, or future residual variability.

Plugging an EBE into a Structural Model

Consider a one-compartment model after an intravenous bolus dose \(D\), with first-order elimination. Let \(V_i\) be volume of distribution and \(CL_i\) clearance for individual \(i\). Then the predicted concentration at elapsed time \(t\) is

$$ C_i(t)=\frac{D}{V_i}\exp\left(-\frac{CL_i}{V_i}t\right). $$

Suppose clearance has a log-normal random effect and a covariate-conditioned typical value \(CL_{\mathrm{typ},i}\):

$$ CL_i=CL_{\mathrm{typ},i}\exp(\eta_{CL,i}), \qquad CL_{\mathrm{typ},i}=g_{CL}(x_i,\beta). $$

The typical profile uses \(\eta_{CL,i}=0\), so its clearance is \(CL_{\mathrm{typ},i}\). The EBE-based profile uses \(\hat{\eta}_{CL,i}\), giving \(\widehat{CL}_i=CL_{\mathrm{typ},i}\exp(\hat{\eta}_{CL,i})\). The exponential matters: an EBE on the log scale is not a clearance difference in the original units. For multiple random effects, insert the full EBE vector into the parameter relationships used by the model; do not omit estimated effects or change the scale on which they are defined.

Worked Example: A Clearance EBE Changes a Concentration Prediction

Consider hypothetical data and fitted values for one person after a 100 mg intravenous bolus. Let \(V=45.24\) L and the covariate-specific typical clearance be \(CL_{\mathrm{typ}}=6.107\) L/h. Suppose a simple Gaussian approximation to the individual's likelihood gives an estimate of \(-0.400\) for the log-clearance random effect, with likelihood variance \(0.250\). The prior distribution of that random effect is \(N(0,0.250)\). Calculate the EBE and compare the resulting prediction at 4 h with the typical profile.

Under this Gaussian approximation, the conditional distribution is proportional to the likelihood times the prior. Its exponent, apart from constants, is

$$ -\frac{(\eta+0.400)^2}{2(0.250)}-\frac{\eta^2}{2(0.250)}. $$

Differentiating with respect to \(\eta\) and setting the derivative to zero gives \((\eta+0.400)/0.250+\eta/0.250=0\), so the conditional mode is \(\hat{\eta}_{CL}=-0.200\). In this Gaussian case the mode and mean agree. The EBE is halfway from the likelihood estimate \(-0.400\) toward the prior mean zero.

The individual clearance used for the EBE-based prediction is

$$ \widehat{CL}=6.107\exp(-0.200) =6.107(0.8187) \approx 5.000\ \mathrm{L/h}. $$

For the typical profile, \(CL/V=6.107/45.24\approx0.1350\ \mathrm{h}^{-1}\), and \(D/V=100/45.24\approx2.210\ \mathrm{mg/L}\). Thus

$$ C_{\mathrm{typ}}(4)=2.210\exp[-(0.1350)(4)] \approx 2.210\exp(-0.5400) \approx 1.288\ \mathrm{mg/L}. $$

For the EBE-based profile, \(\widehat{CL}/V\approx5.000/45.24=0.1105\ \mathrm{h}^{-1}\), so

$$ \widehat{C}(4)=2.210\exp[-(0.1105)(4)] \approx2.210\exp(-0.4420) \approx1.421\ \mathrm{mg/L}. $$

The EBE-based prediction is about \(1.421-1.288=0.133\) mg/L higher than the typical prediction at 4 h. Lower estimated clearance produces slower elimination and therefore a higher predicted concentration at this post-dose time. This comparison concerns model predictions, not observed concentrations.

Why Shrinkage Pulls the Profile Toward the Typical Curve

For a random effect with prior mean zero, shrinkage means that an EBE is closer to zero than the individual information alone would suggest. Setting the random effect to zero restores the covariate-specific typical parameter. Consequently, shrinkage often makes EBE-based predictions closer to the typical profile than predictions made using a less-shrunk individual estimate.

The simple calculation in the example illustrates the mechanism. If a scalar random effect has prior \(\eta\sim N(0,\omega^2)\), and an approximate individual estimate \(z\) has sampling distribution \(z\mid\eta\sim N(\eta,s_z^2)\), the conditional density is proportional to

$$ \exp\left[-\frac{(z-\eta)^2}{2s_z^2}-\frac{\eta^2}{2\omega^2}\right]. $$

Completing the square in \(\eta\), or differentiating the exponent, yields the conditional mean and mode

$$ \hat{\eta}= \frac{\omega^2}{\omega^2+s_z^2}z. $$

The multiplier lies between zero and one when both variances are positive. As the individual estimate becomes less precise (larger \(s_z^2\)), the multiplier decreases and the conditional estimate moves toward zero. This is a Gaussian illustration, not a universal closed-form formula for nonlinear mixed-effects models. In a nonlinear model the EBE is obtained from the fitted conditional distribution, and its relation to an unshrunk estimate need not follow this exact scalar expression.

The resulting prediction need not be a linear interpolation between two concentration values. The random effect may enter a parameter exponentially, and the structural model may then transform that parameter again. For the clearance model above, a negative EBE lowers clearance, but the concentration change depends on both the time and the other parameters. At \(t=0\), for example, \(C(0)=D/V\), so a clearance EBE alone does not change the predicted initial concentration.

Worked Example: Recomputing a Profile at a Later Time

Continue with the hypothetical bolus example. Use the EBE-based clearance of \(5.000\) L/h and volume of \(45.24\) L to predict concentration at 8 h, then compare it with the typical profile.

The EBE-based elimination rate is \(5.000/45.24\approx0.1105\ \mathrm{h}^{-1}\). Therefore,

$$ \widehat{C}(8)=\frac{100}{45.24}\exp[-(0.1105)(8)] \approx2.210\exp(-0.8840) \approx0.913\ \mathrm{mg/L}. $$

The typical prediction is

$$ C_{\mathrm{typ}}(8)=2.210\exp[-(0.1350)(8)] =2.210\exp(-1.080) \approx0.751\ \mathrm{mg/L}. $$

At 8 h the EBE-based prediction is approximately \(0.162\) mg/L higher. Both profiles decline over time, but the lower EBE-based clearance produces a slower decline. The calculation is repeated at each requested time using the same estimated parameters; it does not require a new EBE at each time.

Covariates Define Which Typical Profile Is the Reference

The typical profile is not necessarily a single population-wide curve. If typical clearance depends on a covariate, each individual's covariate values determine the zero-random-effect reference. For example, suppose

$$ CL_{\mathrm{typ},i}=6.000\left(\frac{WT_i}{70\ \mathrm{kg}}\right)^{0.75}\ \mathrm{L/h}, $$

where \(WT_i\) is body weight. A person weighing 56 kg has \(CL_{\mathrm{typ},i}=6.000(56/70)^{0.75}\approx5.075\) L/h. The typical profile for that person uses approximately \(5.075\) L/h, not the reference clearance of \(6.000\) L/h. An EBE-based prediction for this person incorporates the same weight-based value and then applies the estimated random effect, for example \(CL_i=5.075\exp(\hat{\eta}_{CL,i})\).

Worked Example: Checking the Concentration Arithmetic

For a hypothetical person, let \(D=100\) mg, \(V=50.0\) L, and \(CL=7.318\) L/h. Calculate the one-compartment bolus-model prediction at 5.00 h.

The initial concentration scale is \(D/V=100/50.0=2.000\) mg/L. The elimination-rate constant is \(CL/V=7.318/50.0=0.14636\ \mathrm{h}^{-1}\), so the exponent at 5.00 h is \(-(0.14636)(5.00)=-0.7318\). Substitution gives

$$ C(5.00)=2.000\exp(-0.7318) \approx2.000(0.4810) \approx0.9621\ \mathrm{mg/L}. $$

The factor \(2.000\) multiplies the exponential; it is not replaced by it. The calculated value is a concentration prediction at 5.00 h under the stated model and parameters.

Interpretation, Alternatives, and Failure Checks

An EBE plug-in curve is one useful summary, but it is not the only possible prediction. The typical profile answers what the model predicts at that person's covariates when random effects are zero. The EBE-based plug-in profile answers what the structural model predicts after inserting the person's estimated random effects. A conditional mean prediction instead averages the structural prediction over the conditional distribution of random effects. Because \(f\) is generally nonlinear, \(f(t;g(x_i,\beta,E[\eta_i\mid y_i]))\) need not equal \(E[f(t;g(x_i,\beta,\eta_i))\mid y_i]\). A full predictive distribution can additionally account for uncertainty and residual variability. These summaries answer different questions and should not be treated as interchangeable.

Before interpreting an EBE-based profile, check the model parameterization and calculation. Confirm that the EBE is on the scale expected by the parameter relationship; use the person's covariates in the typical parameter function; convert units consistently; and use elapsed time since the modeled dose, not an incompatible clock time. For the bolus model, \(CL/V\) must have units of inverse time and \(D/V\) units of concentration. A negative post-dose exponent should give a declining profile when clearance is positive.

A prediction that looks implausible can arise from a coding or unit error, but it can also indicate a poor structural model, unsuitable covariate relationship, or weak individual information. Shrinkage is not evidence that an individual truly has exactly typical parameters: it indicates that the conditional estimate is pulled toward the random-effect distribution's center. Nor does a close EBE-based fit to the observations establish that the population model is correct. Compare predictions with the intended use and observed data, and retain the distinction between a conditional point prediction and uncertainty around it.

  • Wrong: “The EBE is negative, so concentration must be lower.” Correction: The effect depends on which parameter the EBE modifies. A negative log-clearance effect lowers clearance and, after a bolus, raises concentrations relative to the typical profile for \(t>0\).
  • Wrong: “The EBE-based curve is the person's observed concentration curve.” Correction: It is a structural-model prediction conditional on estimated parameters; observations also include residual variation and measurement error.
  • Wrong: “Use the population reference parameters for every typical curve.” Correction: First calculate the typical parameters at the person's covariate values; the zero-random-effect profile is covariate-specific.

Check Your Understanding

Answer each question using the definitions and model relationships above.

  1. If an individual's EBE for log-clearance is zero, which clearance is used in the prediction?
  2. For a one-compartment bolus model, what happens to \(C(0)\) if only the clearance EBE changes while dose and volume remain fixed?
  3. In the Gaussian illustration, let \(z=0.300\), \(\omega^2=0.160\), and \(s_z^2=0.240\). Calculate the conditional estimate.
  4. Why can a concentration obtained by inserting the conditional mean EBE differ from the conditional mean concentration?
  5. For \(D=80\) mg and \(V=40\) L, state the initial concentration and its units.

Solutions. (1) The covariate-specific typical clearance, because \(CL_i=CL_{\mathrm{typ},i}\exp(0)=CL_{\mathrm{typ},i}\). (2) Nothing changes: \(C(0)=D/V\), which does not depend on clearance. (3) \(\hat{\eta}=[0.160/(0.160+0.240)](0.300)=0.400(0.300)=0.120\). (4) The structural model is nonlinear, so applying it to an average random effect is generally not the same as averaging the predictions over the conditional distribution. (5) \(C(0)=80/40=2.00\) mg/L.