Tutorials › Pharmacometric Workflows and Reproducible Modeling › Updating A Model With New Trial Data

Case Studies · Tutorial 389 of 399

Updating A Model With New Trial Data

Learn to update a population PK model without discarding prior information, and to check whether new trial data expose systematic prediction errors.

Advanced 12 min read

What You'll Learn

  • State the conditions needed to compare new-trial data with an established model.
  • Distinguish joint pooled estimation from sequential updating that preserves the earlier likelihood.
  • Combine independent parameter estimates and quantify uncertainty under a normal approximation.
  • Use trial-specific prediction errors to identify bias and subgroup patterns.
  • Decide when to refit, investigate a model extension, or retain the established model.
  • Recognize why a nonsignificant difference does not establish equivalent performance.

Why an Established Model Needs a Deliberate Update

A completed trial can add useful information to a population pharmacokinetic (PK) model, but simply appending its records to an analysis file is not enough. The new observations must be compatible with the model’s target population, measurements, dosing and sampling design, and estimand. Even when they are compatible, a model that fits the combined data well may conceal a new-trial prediction problem. An update therefore has two connected aims: estimate population parameters using the new information, and assess whether the established model still predicts adequately in the new trial.

The earlier material on external validation with an independent trial concerns evaluating predictions without using that trial to fit the model. Updating is different: once new-trial observations contribute to estimation, the resulting fit is no longer an independent validation of those same observations. Preserve the distinction between evaluating predictions from the established model and assessing the updated model.

Model and Conditions for Combining Trials

For participant \(i\) in trial \(k\), a population PK model can be represented as \(C_{ikj}=f(t_{ikj},D_{ikj},\psi_{ik})+\epsilon_{ikj}\), where \(C_{ikj}\) is a concentration at sampling time \(t_{ikj}\), \(D_{ikj}\) represents dose history, \(\psi_{ik}\) contains individual PK parameters, and \(\epsilon_{ikj}\) is residual error. Individual parameters are related to population parameters \(\theta\) and individual random effects \(\eta_{ik}\), for example through \(\psi_{ik}=g(\theta,\eta_{ik})\). A conventional mixed-effects model specifies a distribution for \(\eta_{ik}\), often \(N(0,\Omega)\), and a distribution for residual error. These components, along with the dosing and sampling information, determine the likelihood of the observed data.

A direct pooled fit estimates the model using the likelihood contributions from both the established and new trial. Combining the trials this way requires more than independent participants: the model must give a scientifically meaningful description of both trials, and the parameter being estimated must have a compatible meaning in each. Examine measurement units, assay procedures, dose records, sampling times, eligibility criteria, covariate distributions, and relevant design differences. A difference in a known covariate distribution may be handled by the model; a difference in the meaning or measurement of concentration cannot be repaired merely by pooling records.

Definition: A model update uses new-trial data to revise parameter estimates, model components, or both, while retaining the established model as the starting scientific specification. In pooled estimation, the old and new trial data contribute jointly to the fit. In sequential estimation, the earlier data’s information is carried forward into the new analysis, so the new data add information rather than replace or duplicate the old information.

Sequential estimation describes how information is carried forward, not one unique algorithm. A sequential refit can use the previous estimate and covariance to initialize an optimization while retaining the old likelihood contribution or an appropriate approximation to it. In contrast, fixing all old parameter estimates and fitting only new participants does not generally update those parameters: it conditions on the old point estimates as if they were known exactly.

Why Pooling and Valid Sequential Updating Can Agree

A short derivation clarifies when two estimation strategies produce the same result. Suppose a scalar parameter \(\theta\) has an approximately normal estimate \(\hat{\theta}_k\) from trial \(k\), with known standard error \(SE_k\). Assume the estimates are independent, unbiased for the same \(\theta\), and normally distributed. Each estimate then contributes a quadratic log likelihood proportional to \(-(\hat{\theta}_k-\theta)^2/(2SE_k^2)\). Adding the two log likelihoods and differentiating with respect to \(\theta\) gives the precision-weighted estimate:

$$ \hat{\theta}_{\mathrm{combined}} = \frac{\hat{\theta}_1/SE_1^2+\hat{\theta}_2/SE_2^2} {1/SE_1^2+1/SE_2^2}, \qquad SE_{\mathrm{combined}} = \sqrt{\frac{1}{1/SE_1^2+1/SE_2^2}}. $$

The weights are precisions, \(1/SE_k^2\): estimates with smaller uncertainty contribute more. Because the combined likelihood is the sum of the old and new likelihoods, sequential updating gives the same result as joint pooling if the old likelihood information is fully retained. In complex population PK models, estimates are vectors, parameters may be correlated, and likelihoods need not be quadratic. The scalar formula is therefore an illustration of the principle, not a replacement for a joint mixed-effects analysis.

Worked Example: Combining Two Estimates of Log Clearance

Suppose two independent, hypothetical trials estimate the same population log-clearance parameter. The established trial gives \(\hat{\theta}_1=2.00\) with \(SE_1=0.10\), and the new trial gives \(\hat{\theta}_2=2.18\) with \(SE_2=0.12\). Assume, for this calculation, unbiased normal estimates of the same parameter and treat the reported standard errors as known.

The precisions are \(1/0.10^2=100\) and \(1/0.12^2=69.4444\). Thus the combined estimate is

$$ \hat{\theta}_{\mathrm{combined}} = \frac{(2.00)(100)+(2.18)(69.4444)}{100+69.4444} = \frac{351.3889}{169.4444} = 2.0738. $$

Its standard error is \(SE_{\mathrm{combined}}=\sqrt{1/169.4444}=0.07682\). A normal-approximation 95% confidence interval is \(2.0738\pm1.96(0.07682)=[1.9232,\,2.2243]\), in log-clearance units. This interval describes the uncertainty in the combined estimate under the stated approximation; it is not a 95% probability statement about a fixed parameter.

The estimated between-trial difference is \(2.18-2.00=0.18\), with approximate standard error \(\sqrt{0.10^2+0.12^2}=0.1562\). The standardized difference is \(0.18/0.1562=1.152\). This is not strong evidence against equality at a two-sided 5% level under a normal approximation. It does not establish that the trials are equivalent: a meaningful difference may remain compatible with this uncertainty.

In a correctly implemented sequential analysis under the same normal-likelihood approximation, the established trial contributes precision 100 and weighted estimate \(2.00(100)\); the new trial adds precision 69.4444 and weighted estimate \(2.18(69.4444)\). The resulting estimate is the same. Retaining only the old point estimate, without its uncertainty or likelihood information, would not reproduce this update.

Check Prediction Performance Before Interpreting an Update

Before using a new trial to revise the model, generate predictions from the established model without using the new trial’s concentrations to estimate its population parameters. Compare predictions with observations in clinically and pharmacologically relevant ways, such as by time after dose, dose level, renal function, or another prespecified covariate. A useful signed prediction error on the log scale is \(r_i=\log(C_{i,\mathrm{obs}}/C_{i,\mathrm{pred}})\). A positive value means the observed concentration exceeds the prediction; a negative value means the prediction exceeds the observation.

Residuals are not automatically independent merely because there are many concentration records. Measurements from the same participant share individual parameters and may be correlated. A simple summary analysis should use an appropriate independent unit, such as one prespecified summary per participant, or use a method that accounts for within-participant dependence. Prediction checks should also be stratified or plotted: a mean near zero can hide overprediction in one part of the profile and underprediction in another.

Worked Example: Detecting a New-Trial Prediction Bias

For five hypothetical participants, suppose one prespecified log observed-to-predicted concentration ratio per participant is \(0.20,\ 0.10,\ 0.30,\ 0.00,\ 0.20\). The established model generated each prediction before these observations were used for fitting. Treat the five participant-level errors as independent and approximately normally distributed for this small-sample illustration.

The mean error is \(\bar{x}=(0.20+0.10+0.30+0.00+0.20)/5=0.160\). The deviations from the mean are \(0.04,-0.06,0.14,-0.16,0.04\). Their squared sum is \(0.052\), so the sample standard deviation is \(s=\sqrt{0.052/(5-1)}=0.1140\), and the standard error is \(SE=s/\sqrt{5}=0.0510\).

To assess whether the mean error differs from zero, use a one-sample \(t\) statistic under the normality and independence assumptions: \(t=\bar{x}/SE=0.160/0.0510=3.138\), with \(df=4\). The two-sided p-value is approximately 0.035. A 95% \(t\) interval is \(0.160\pm2.776(0.0510)=[0.0184,\,0.3016]\) log-ratio units. Under these assumptions, the data provide evidence of positive mean prediction error. The interval is for the mean error, not for every participant’s error.

Exponentiating the mean log ratio gives \(\exp(0.160)=1.174\): the geometric mean observed-to-predicted ratio is about 1.174, or 17.4% above the prediction. Exponentiating the interval endpoints gives approximately \([1.019,\,1.352]\). The result flags possible underprediction in this trial; it does not by itself identify the cause or prove that a particular model change is needed.

Look for Structure, Not Just a Trial-Wide Average

A systematic error may indicate that the established model’s structural or covariate description is inadequate for some part of the new trial. Inspect residual patterns against time, dose, predicted concentration, and relevant participant characteristics. Review whether the mismatch is persistent across participants or driven by a few influential records. Also check data handling, units, dosing histories, and sampling times: an apparent model failure can arise from erroneous inputs or inconsistent records. These checks complement, rather than replace, formal estimation.

Worked Example: A Dose-Related Pattern in Prediction Errors

In another hypothetical trial, the mean participant-level log prediction errors are \(0.02,\ 0.00,\ 0.04,\ -0.02\) in a low-dose group, and \(0.18,\ 0.22,\ 0.16,\ 0.20\) in a high-dose group. Suppose participants are independent, and assume a common within-group variance and approximately normal errors for this illustrative comparison.

The low-dose mean is \(0.010\), and the high-dose mean is \(0.190\). In each group the squared deviations from its mean sum to \(0.002\). The pooled variance is therefore \(s_p^2=(0.002+0.002)/(4+4-2)=0.000667\), with \(df=6\), and \(s_p=0.02582\). The estimated difference in mean errors, high dose minus low dose, is \(0.190-0.010=0.180\), with \(SE=s_p\sqrt{1/4+1/4}=0.01826\).

The test statistic is \(t=0.180/0.01826=9.86\), with \(df=6\). Using the 95% critical value \(t_{0.975,6}=2.447\), the interval for the difference is \(0.180\pm2.447(0.01826)=[0.1353,\,0.2247]\) log-ratio units. The interval is entirely positive. The high-dose group’s observed-to-predicted ratio is about \(\exp(0.180)=1.197\) times the low-dose group’s ratio, suggesting a dose-related change in prediction error in this example.

This pattern is a reason to investigate dose dependence, model structure, or relevant design and data issues, not an automatic justification for adding a trial-specific effect. A trial-wide adjustment could conceal a dose-related deficiency. The small sample and assumptions also mean the numerical test should be treated as illustrative rather than definitive.

Choosing an Update Strategy

ApproachWhat it doesUseful whenMain caution
Joint pooled refitFits the established and new trial data together.All relevant data are available and a common model and estimand are defensible.Combined fit can obscure a trial-specific failure unless diagnostics are stratified.
Sequential likelihood updateRetains the earlier likelihood information and adds the new trial’s contribution.Data are processed in stages or a validated likelihood summary is retained.A point estimate alone does not preserve earlier uncertainty or parameter correlations.
Freeze old estimates and fit new dataHolds established parameters fixed while analyzing new observations.The goal is conditional prediction or estimation of a separately defined quantity.It is not a full update of the fixed parameters and may understate uncertainty.
Trial-specific model extensionAllows selected parameters or prediction components to differ by trial.Diagnostics and scientific rationale support a trial-related difference.Extra flexibility may fit noise and weaken interpretation or prediction.

When pooling and sequential estimation are both feasible, agreement is a useful implementation check if they preserve the same likelihood information and assumptions. In nonlinear mixed-effects models, numerical optimization, approximations, missing information, or different constraints can cause estimates to differ. Investigate such differences rather than assuming they are harmless. For sequential Bayesian updating, ensure that the earlier posterior is not treated as a likelihood while its prior is also applied again; otherwise prior information can be counted twice.

Common Pitfalls and Limits

  • Calling a nonsignificant difference proof of stability. A wide interval can include important changes as well as zero. State the uncertainty and assess whether it rules out changes of practical concern.
  • Updating before checking inputs and design compatibility. Different units, assay behavior, dosing records, or sampling patterns can create misleading estimates. Establish comparability before interpreting a pooled parameter shift.
  • Using the new trial twice without saying so. Predictions from a model fitted to the new observations are not independent validation predictions for those observations. Label whether diagnostics are based on the established or updated model.
  • Retaining only an old point estimate. Sequential updating requires uncertainty and, for multiple parameters, their covariance or the relevant likelihood information. A fixed estimate is not equivalent to carrying forward the old data.
  • Explaining every mismatch with a trial effect. A systematic pattern may instead reflect covariates, structure, data quality, or sampling. Diagnose the pattern before proposing an extension.

No single summary statistic establishes that an updated population PK model is adequate. The evidence includes the estimated parameter changes and their uncertainty, trial-stratified predictive checks, the plausibility of assumptions, and whether the model’s intended use is supported by the available data. Re-estimation can improve fit to the combined data while reducing the independence of subsequent evaluation; further independent data may be needed for a new validation claim.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions.

  1. Under what conditions can a sequential estimate agree with a pooled estimate?
  2. An established estimate is \(1.50\) with \(SE=0.20\), and a new independent estimate of the same parameter is \(1.70\) with \(SE=0.10\). Calculate the precision-weighted estimate.
  3. If the mean log observed-to-predicted ratio is positive, which direction of prediction error does it indicate?
  4. Why does a nonsignificant test of a difference between trials not establish that model performance is unchanged?
  5. Why can a good fit to pooled data fail to reveal a new-trial prediction problem?

Solutions. (1) They agree when both strategies use the same model and estimand, the trial information is appropriately independent, and sequential estimation retains the full earlier likelihood information (or a valid equivalent). (2) The precisions are \(1/0.20^2=25\) and \(1/0.10^2=100\). The weighted estimate is \(\{1.50(25)+1.70(100)\}/125=(37.5+170)/125=1.660\). (3) Observed concentrations tend to exceed predictions; the model tends to underpredict on the log-ratio scale. (4) Failure to reject a difference does not show that the difference is zero. The interval may still include changes large enough to matter. (5) The larger or more informative trial can dominate the combined fit, and an average fit can conceal systematic errors in a subgroup or trial. Trial-stratified predictions are needed to assess that possibility.

Clinical Biostats