Tutorials › Adaptive Clinical Trial Design › Bayesian Therapeutic Drug Monitoring for Within-Trial Adaptation

Adaptive Designs With Pharmacometric Models · Tutorial 521 of 799

Bayesian Therapeutic Drug Monitoring for Within-Trial Adaptation

You will derive an individual posterior clearance distribution from concentration data and use it to select and evaluate a regimen against a protocol-defined exposure target.

Advanced 12 min read

What You'll Learn

  • Define a concentration likelihood and prior for an individual pharmacokinetic parameter.
  • Derive the conjugate posterior for a log-clearance model.
  • Translate posterior clearance estimates into predicted exposure under a candidate regimen.
  • Compare median-target dosing with posterior target-attainment rules.
  • Identify assumptions, diagnostics, and limitations of Bayesian therapeutic drug monitoring within a trial.

Why Individual Concentrations Can Change a Regimen

A population pharmacokinetic model describes typical parameter values and between-participant variation. A participant’s measured concentrations provide additional information about that participant’s parameters. Bayesian therapeutic drug monitoring (TDM) combines those sources of information to form a participant-specific posterior distribution, then uses that distribution to predict exposure under candidate regimens.

The purpose here is not to treat a measured concentration as an exact estimate of clearance. Rather, a concentration is an observation generated by a pharmacokinetic model with uncertainty. The resulting posterior uncertainty matters: two participants with the same posterior median clearance can have different confidence in that estimate, and therefore different probabilities of reaching an exposure target.

The examples use a deliberately simple model for a continuous intravenous infusion at steady state. The same Bayesian structure applies to more elaborate pharmacometric models, but their likelihoods and predictions may require numerical computation.

Model and Posterior Distribution

Definition: Let \(CL\) denote an individual’s clearance in L/h, and define the dimensionless log-clearance parameter \(\eta=\log(CL/(5\text{ L/h}))\). Under a continuous infusion rate \(R\) in mg/h, assume the steady-state concentration is \(C=R/CL\) in mg/L. For each measured concentration \(C_i\) at infusion rate \(R_i\), define \(y_i=\log\{R_i/(C_i\cdot 5\text{ L/h})\}\). The observation model is \(y_i\mid\eta\sim N(\eta,\sigma^2)\), independently conditional on \(\eta\). The prior is \(\eta\sim N(\mu_0,\tau_0^2)\).

The steady-state relationship \(C=R/CL\) assumes linear pharmacokinetics, a constant infusion, and enough time at that rate to reach steady state. The observation model assumes that the logarithm of the clearance proxy has mean \(\eta\), with known standard deviation \(\sigma\), and that observations are conditionally independent. The prior summarizes information available before this participant’s concentrations are used; it may be informed by a population model and relevant covariates.

These assumptions are consequential. If concentrations were measured before steady state, if clearance changes over time, or if the model does not describe the dosing and sampling conditions, this likelihood is not appropriate as written. In an operational trial, the likelihood, prior, and adaptation rule should be specified before the participant-level decision is made.

For this normal prior and normal likelihood, the posterior is normal. Its variance and mean are:

$$ \tau_n^2=\left(\frac{1}{\tau_0^2}+\frac{n}{\sigma^2}\right)^{-1}, \qquad \mu_n=\tau_n^2\left(\frac{\mu_0}{\tau_0^2}+\frac{\sum_{i=1}^n y_i}{\sigma^2}\right). $$

This result follows by multiplying the prior density by the likelihood. Apart from constants not depending on \(\eta\), the log posterior is

$$ -\frac{1}{2}\left\{\frac{(\eta-\mu_0)^2}{\tau_0^2} +\sum_{i=1}^n\frac{(y_i-\eta)^2}{\sigma^2}\right\}. $$

Collecting the terms involving \(\eta^2\) gives precision \(1/\tau_0^2+n/\sigma^2\). Collecting the linear terms gives \(\mu_0/\tau_0^2+\sum_i y_i/\sigma^2\). Completing the square therefore gives a normal posterior with the variance and mean above. The posterior mean is a precision-weighted compromise between the prior mean and the observed values: data with more precise measurements receive more weight.

Worked Example: Updating Clearance From Two Concentrations

Hypothetical data. A participant receives a constant infusion of 10 mg/h. At steady state, concentrations are measured as 2.5 mg/L and 2.0 mg/L. Assume \(\mu_0=0\), \(\tau_0=0.25\), and \(\sigma=0.20\). First calculate the log-clearance observations:

$$ y_1=\log\left(\frac{10}{2.5\cdot5}\right)=\log(0.8)=-0.22314, \qquad y_2=\log\left(\frac{10}{2.0\cdot5}\right)=\log(1)=0. $$

The prior precision is \(1/0.25^2=16\), and the total observation precision is \(2/0.20^2=50\). Thus:

$$ \tau_n^2=(16+50)^{-1}=0.0151515, \qquad \tau_n=\sqrt{0.0151515}=0.1231, $$
$$ \mu_n=0.0151515\left(0+\frac{-0.22314+0}{0.04}\right) =-0.08452. $$

The posterior median clearance is \(5\exp(\mu_n)=5\exp(-0.08452)=4.595\) L/h. The posterior median is a useful individual summary, but it is not the only relevant result: the posterior standard deviation on the log scale is 0.1231, so uncertainty remains. A central 90% posterior interval for \(\eta\), using the normal quantile 1.645, is \(-0.08452\pm1.645(0.1231)=[-0.2870,0.1180]\). Transforming the endpoints gives a 90% posterior interval for clearance of approximately 3.753 to 5.626 L/h.

Predicting Exposure and Choosing a Candidate Rate

For a candidate infusion rate \(R\), the predicted steady-state concentration is \(C=R/CL\). Because \(CL=5\exp(\eta)\) L/h, the posterior distribution of log concentration is normal:

$$ \log C\mid y_1,\ldots,y_n \sim N\left(\log\left(\frac{R}{5}\right)-\mu_n,\ \tau_n^2\right), $$

where \(R/5\) is expressed in mg/L when \(R\) is in mg/h. This expression predicts concentration from uncertainty in the individual parameter; it does not add extra future measurement error. If a predictive distribution for a future observed concentration is required, the observation-error component must also be included.

A straightforward policy is to choose the rate that makes the posterior median concentration equal a protocol-defined target \(C^*\). Since the posterior median clearance is \(5\exp(\mu_n)\), the corresponding rate is:

$$ R_{\mathrm{med}}=C^*\cdot5\exp(\mu_n). $$

This rule targets the median predicted concentration, not the posterior mean concentration. A different policy could target a posterior expectation or the probability of falling within a target range. The policy should match the clinical objective and be prespecified; it should not be selected after seeing which rule gives the most favorable answer.

Worked Example: Moving the Posterior Median to the Target

Continue the hypothetical example above, and suppose the protocol-defined steady-state concentration target is 2.0 mg/L. The current rate is 10 mg/h, so its posterior median concentration is \(10/4.595=2.176\) mg/L. The median-target rate is:

$$ R_{\mathrm{med}}=2.0\text{ mg/L}\times4.595\text{ L/h} =9.190\text{ mg/h}. $$

Under the assumed linear model, the posterior median concentration at 9.190 mg/h is \(9.190/4.595=2.000\) mg/L. This calculation supports a candidate rate under the stated model and target. It does not by itself establish that the rate is safe, clinically optimal, or permissible under the trial protocol; those requirements must also be addressed by the prespecified adaptation policy.

Posterior Target Attainment, Not Just a Point Estimate

When the objective is to keep concentration within an acceptable interval \([C_L,C_U]\), a posterior target-attainment probability can be more informative than a single posterior median. For a candidate rate \(R\), the concentration lies in that interval precisely when:

$$ C_L\leq\frac{R}{5\exp(\eta)}\leq C_U \quad\Longleftrightarrow\quad \log\left(\frac{R}{5C_U}\right)\leq\eta\leq \log\left(\frac{R}{5C_L}\right). $$

The order of the bounds reverses relative to concentration because concentration decreases as clearance increases. The posterior probability of target attainment is therefore the posterior normal probability between these two log-clearance bounds. A protocol might select the smallest permitted rate whose attainment probability exceeds a prespecified threshold, while also imposing safety limits. The threshold and any tie-breaking rule are design choices, not consequences of Bayes’ theorem.

Worked Example: Comparing Target-Attainment Probabilities

Using the posterior from the first example, suppose the acceptable concentration range is 1.5 to 2.5 mg/L. Consider the candidate rate \(R=9.2\) mg/h. The corresponding clearance bounds are:

$$ \log\left(\frac{9.2}{5(2.5)}\right)=-0.3065, \qquad \log\left(\frac{9.2}{5(1.5)}\right)=0.2043. $$

Standardizing these bounds under \(\eta\mid y\sim N(-0.08452,0.1231^2)\) gives approximately \(z_L=-1.8035\) and \(z_U=2.3464\). Thus the posterior target-attainment probability is:

$$ P(1.5\leq C\leq2.5\mid y,R=9.2) =\Phi(2.3464)-\Phi(-1.8035) \approx0.9549. $$

For comparison, at the current rate of 10 mg/h the standardized bounds are approximately \(-1.126\) and \(3.024\), giving \(\Phi(3.024)-\Phi(-1.126)\approx0.9988-0.1300=0.8688\). Under this hypothetical posterior and range, the 9.2 mg/h rate has higher estimated probability of being within the target range. This probability is conditional on the specified model, prior, data, and candidate rate; it is not a guarantee about the participant’s true concentration.

Shrinkage, Diagnostics, and Failure Modes

Bayesian individual estimation naturally shrinks noisy participant-level evidence toward the prior. This is often useful when only a few concentrations are available: it avoids treating a highly variable individual estimate as if it were precise. Shrinkage is not automatically beneficial, however. A prior that is poorly matched to the participant or trial population can pull estimates in the wrong direction.

Worked Example: How the Prior Tempers a Sparse Estimate

Hypothetical data. Suppose the same prior and error standard deviation are used, but there is one concentration at 10 mg/h, equal to 1.25 mg/L. The implied clearance proxy is \(10/1.25=8\) L/h, and \(y=\log(8/5)=\log(1.6)=0.4700\). With one observation, the posterior variance and mean are:

$$ \tau_n^2=(16+25)^{-1}=0.0243902, \qquad \mu_n=0.0243902\left(\frac{0.4700}{0.04}\right)=0.2866. $$

The posterior median clearance is \(5\exp(0.2866)=6.660\) L/h, lower than the raw proxy of 8 L/h because the prior contributes information. For a 2.0 mg/L median target, the corresponding rate is \(2.0\times6.660=13.32\) mg/h, rather than the 16 mg/h rate obtained by treating the single concentration as an exact clearance measurement. Whether this degree of shrinkage is appropriate depends on the validity of the prior and the assumed error model.

Before acting on a posterior, examine whether the data are compatible with the model. Useful checks include comparing observed and model-predicted concentrations, checking residuals for systematic patterns across time or concentration, verifying dose and sampling records, and assessing whether the posterior is unusually sensitive to reasonable changes in the prior. If multiple observations are available, a pattern in which residuals consistently rise or fall over time may suggest that the steady-state or constant-clearance assumptions are failing.

A particularly important failure mode is to use a point estimate while ignoring posterior uncertainty. A rate that matches the posterior median may still leave substantial probability outside a clinically acceptable range. Conversely, an attainment probability can look reassuring only because the assumed model is too confident. Unmodeled variability, misspecified error, nonlinearity, time-varying clearance, or an unsuitable prior can make posterior intervals and probabilities misleading.

How TDM Fits Within a Trial

Bayesian TDM differs from simply assigning every participant a dose based on a population-average parameter. The population approach does not use an individual’s observed concentrations to update that participant’s clearance estimate. It also differs from an unregularized individual estimate, which may be unstable when data are sparse. Bayesian updating combines both sources, while retaining an explicit distribution for uncertainty.

For a within-trial adaptation, the statistical calculation is only one part of the decision. The protocol should specify the eligible observations, model and prior, target definition, candidate rates, adaptation threshold, safety constraints, and handling of missing or inconsistent data. Decisions must also respect the trial’s allocation and oversight procedures. TDM estimates an individual pharmacokinetic parameter and predicts exposure under a model; by itself it does not establish a treatment effect or justify a causal claim about clinical outcomes.

The introductory material on borrowing external pharmacometric data at interim concerns how external information can contribute to a model. In individual TDM, the practical question is how participant-specific concentration data update the applicable prior and how that posterior is translated into an allowed regimen. Borrowed information should not be treated as automatically exchangeable with the participant’s data: its relevance and any safeguards against conflict must be established in the model and decision procedure.

Common Mistake

  • Wrong reasoning: “The concentration at 10 mg/h implies clearance of exactly 4 L/h, so the dose for a 2 mg/L target must be exactly 8 mg/h.”
  • Correction: That calculation treats a noisy measurement as error-free and ignores prior information and posterior uncertainty. Under the stated model, the observation contributes evidence about clearance; the posterior distribution then supports a prespecified decision, such as a median-target rate or a target-attainment rule.
Key takeaway: Bayesian TDM proceeds from a stated concentration model and prior to an individual posterior, then from that posterior to exposure predictions under candidate regimens. A defensible adaptation uses uncertainty, model checks, and a prespecified decision rule rather than a concentration-to-dose calculation alone.

Check Your Understanding

Use the model and notation defined above. The following solutions show the reasoning as well as the results.

  1. Why does the posterior precision increase when an additional conditionally independent concentration is observed?
  2. With a 2.0 mg/L target and posterior median clearance of 6.660 L/h, calculate the median-target infusion rate and state its units.
  3. For a fixed infusion rate, does a higher clearance imply a higher or lower steady-state concentration? Explain using the model.
  4. Why can the rate that targets the posterior median concentration differ from a rate chosen to exceed a posterior target-attainment threshold?

Solutions. (1) Each observation contributes precision \(1/\sigma^2\) to the posterior, so the total precision is \(1/\tau_0^2+n/\sigma^2\); an additional independent observation adds another positive \(1/\sigma^2\). (2) \(R=2.0\text{ mg/L}\times6.660\text{ L/h}=13.32\text{ mg/h}\). (3) Lower concentration: \(C=R/CL\), so at fixed \(R\), increasing \(CL\) decreases \(C\). (4) Median targeting sets one posterior quantile to the target, whereas an attainment rule evaluates probability over a target interval and may impose a probability threshold and safety constraints. The two rules optimize different criteria and need not select the same rate.

Clinical Biostats