Tutorials › Optimal Design and Model-Informed Dosing › Robust Likelihoods for Outlying Concentrations

Bayesian Forecasting and Dose Adaptation · Tutorial 322 of 497

Robust Likelihoods for Outlying Concentrations

Use heavy-tailed and mixture observation models to limit the influence of unusual concentrations while preserving uncertainty about individual PK parameters.

Advanced 13 min read

What You'll Learn

  • Specify Student-t and contamination-mixture likelihoods for individual PK concentration data.
  • Derive how heavy-tailed residuals reduce the influence of large discrepancies.
  • Compare Gaussian and robust individual posterior estimates in worked calculations.
  • Calculate the posterior probability that a mixture-model observation is contaminated.
  • Recognize diagnostics, assumptions, and limitations of robust likelihoods.

Why Robust Likelihoods Matter

An individual PK model can fit most measured concentrations well and still be pulled substantially by one unusual observation. That observation may reflect ordinary measurement variation, an assay problem, or a mismatch between the model and the patient’s data. A Gaussian residual model assigns increasingly large influence to increasingly large residuals, so a single extreme concentration can dominate an individual estimate. Robust likelihoods reduce that influence without automatically deleting the observation.

Let \(C_i\) be the observed concentration at time \(t_i\), and let \(f_i(\theta)\) be the model-predicted concentration for individual parameter vector \(\theta\). For positive concentrations, one common approach is to work on the log scale: \(z_i=\log C_i\) and \(m_i(\theta)=\log f_i(\theta)\). The residual is \(r_i=z_i-m_i(\theta)\). The same likelihood ideas can be used on the original concentration scale when that error model is scientifically appropriate.

The prior \(p(\theta)\) summarizes the available information about the individual parameters. Given observations, the individual posterior is proportional to the prior times the likelihood. This tutorial changes the observation likelihood, not the structure of the prior or the PK model.

Definition: A robust likelihood is an observation model whose contribution from a sufficiently large residual grows less rapidly than it does under a Gaussian likelihood. It can reduce the effect of unusual observations on the posterior while retaining those observations in the analysis. Robustness does not establish that an unusual observation is erroneous.

Gaussian and Heavy-Tailed Error Models

Under a Gaussian residual model, assume the log-scale observations are conditionally independent given \(\theta\), and that \(z_i\mid\theta\sim N(m_i(\theta),\sigma^2)\), with a common, known residual standard deviation \(\sigma\). Then the likelihood is proportional to the product of Gaussian densities. The Gaussian assumption is useful when residuals are adequately described by this distribution, but the log-likelihood contribution penalizes a residual in proportion to \(r_i^2\).

A Student-\(t\) likelihood replaces each standardized Gaussian residual with a Student-\(t\) residual. With degrees of freedom \(\nu>0\) and scale \(s>0\), the density for \(r_i\) is proportional to \((1+r_i^2/(\nu s^2))^{-(\nu+1)/2}\). The parameter \(s\) is a scale, not generally the residual standard deviation: when \(\nu>2\), the residual variance is \(s^2\nu/(\nu-2)\); for \(\nu\leq2\), that variance is infinite. Conditional independence is still an assumption unless dependence is explicitly modeled.

$$ L_t(\theta)=\prod_{i=1}^{n} \frac{\Gamma((\nu+1)/2)} {\Gamma(\nu/2)\sqrt{\nu\pi}\,s} \left(1+\frac{r_i^2}{\nu s^2}\right)^{-(\nu+1)/2}, \qquad p(\theta\mid z)\propto p(\theta)L_t(\theta). $$

The key distinction is visible by differentiating the log likelihood for one residual with respect to its model prediction \(m_i\). For the Gaussian model, this score is \(r_i/\sigma^2\). For the Student-\(t\) model, it is \((\nu+1)r_i/(\nu s^2+r_i^2)\). The latter tends toward zero as \(|r_i|\) grows, whereas the Gaussian score grows without bound. Thus a very large residual has limited leverage under the Student-\(t\) likelihood.

$$ \frac{\partial \log L_{t,i}}{\partial m_i} =\frac{(\nu+1)r_i}{\nu s^2+r_i^2} = \left(\frac{\nu+1}{\nu s^2+r_i^2}\right)r_i. $$

This expression also gives a useful interpretation: the Student-\(t\) score behaves like a residual multiplied by a residual-dependent weight. Large residuals receive smaller weights. A lower \(\nu\) gives heavier tails, but it is not a universal setting: it changes the assumed error distribution and should be justified or examined for sensitivity.

Worked Example: Gaussian Versus Student-\(t\) Individual Estimates

Consider hypothetical log-concentration data from a deliberately simplified local model, \(z_i=\theta+\epsilon_i\), with observations \(1.0,\ 1.1,\ 5.0\). Let the prior be \(\theta\sim N(0,1)\). Compare Gaussian errors with known standard deviation \(0.2\) to Student-\(t\) errors with \(\nu=4\) and scale \(s=0.2\). All values are on the log-concentration scale.

Under Gaussian errors, the posterior is normal. Its precision is the prior precision plus the three observation precisions, and its mean is the precision-weighted average:

$$ \operatorname{Var}(\theta\mid z)=\frac{1}{1+3/(0.2^2)} =\frac{1}{76}=0.01316, \qquad E(\theta\mid z)= \frac{0+(1.0+1.1+5.0)/(0.2^2)}{76} =\frac{177.5}{76}=2.336. $$

The Gaussian posterior standard deviation is \(\sqrt{0.01316}=0.1147\). The observation \(5.0\) pulls the posterior mean far above the two observations near 1, because its squared residual contributes strongly to the Gaussian likelihood.

For the Student-\(t\) model, the posterior is not generally normal. Its maximum a posteriori estimate (MAP) solves the derivative of the log posterior equal to zero. With the stated prior and likelihood, the equation is:

$$ -\theta+\sum_{i=1}^{3} \frac{5(z_i-\theta)}{0.16+(z_i-\theta)^2}=0. $$

For example, at \(\theta=1.054\), the four contributions are approximately \(-1.054\), \(-1.657\), \(1.418\), and \(1.254\), which sum to about \(-0.03834\). Solving the equation more closely gives a MAP estimate of approximately \(1.0534\). The outlying observation still contributes to the estimate, but its contribution is much smaller than it would be under a Gaussian model. The Gaussian result is the exact posterior mean in this example; the Student-\(t\) result quoted here is a MAP estimate, so they are not the same posterior summary.

This calculation illustrates leverage, not proof that \(5.0\) is erroneous. The model is intentionally simple: a real PK model has predictions that change with time and with multiple parameters, and its posterior may have more complex shape.

Contamination Mixtures

A second robust option represents observations as arising from either a regular error component or a broader contamination component. Let \(q\) be the prior probability that an observation belongs to the broad component, with \(0<q<1\). Conditional on \(\theta\), assume independent observations with \(z_i\) drawn from a mixture of \(N(m_i(\theta),\sigma^2)\) with probability \(1-q\) and \(N(m_i(\theta),\tau^2)\) with probability \(q\), where \(\tau>\sigma\). Each observation remains in the likelihood; the model estimates how compatible it is with each component.

$$ p(z_i\mid\theta) =(1-q)\,\phi(z_i;m_i(\theta),\sigma^2) +q\,\phi(z_i;m_i(\theta),\tau^2), \qquad p(\theta\mid z)\propto p(\theta)\prod_{i=1}^{n}p(z_i\mid\theta). $$

Here \(\phi(x;\mu,v)\) denotes the normal density with mean \(\mu\) and variance \(v\). The mixture is a likelihood model, not a rule for deleting points. A latent indicator can be used to describe which component generated an observation, but that indicator is uncertain and should not be treated as a confirmed label.

Worked Example: A Mixture Posterior and Its Uncertainty

For a hypothetical scalar log-concentration parameter, take prior \(\theta\sim N(0,1)\) and one observation \(y=1.68\) with prediction \(m(\theta)=\theta\). Suppose the regular component has standard deviation \(0.2\), the broad component has standard deviation \(2\), and \(q=0.1\). Because each component and the prior are normal, the posterior conditional on either component is normal.

For the regular component, the posterior variance and mean are \(1/(1+1/0.04)=0.03846\) and \(1.68/1.04=1.6154\). For the broad component, they are \(1/(1+1/4)=0.8000\) and \(1.68/5=0.3360\). The posterior probability of the regular component is obtained by weighting each component’s marginal data density by its prior mixture weight:

$$ w= \frac{0.9\,\phi(1.68;0,1.04)} {0.9\,\phi(1.68;0,1.04)+0.1\,\phi(1.68;0,5)} \approx 0.8708. $$

Thus the broad-component posterior probability is approximately \(1-w=0.1292\). The overall posterior mean is \(0.8708(1.6154)+0.1292(0.3360)\approx1.450\). Its variance includes both within-component uncertainty and the separation between component means:

$$ \begin{aligned} \operatorname{Var}(\theta\mid y) &=w(0.03846)+(1-w)(0.8000)\\ &\quad+w(1-w)(1.6154-0.3360)^2\\ &\approx 0.321, \qquad SD(\theta\mid y)\approx\sqrt{0.321}=0.567. \end{aligned} $$

For comparison, if the observation were modeled as regular Gaussian error only, the posterior mean would be \(1.6154\), with standard deviation \(\sqrt{0.03846}=0.196\). The mixture posterior is less pulled toward the observation and much more uncertain because it retains a plausible broad-error explanation. The value \(0.567\) is the standard deviation of the mixture posterior, not the weighted average of the component standard deviations.

Interpreting the Mixture and Checking Its Behavior

The posterior probability of the broad component for an observation can also be calculated conditional on a specified residual \(r\). It is the broad-component density, multiplied by its prior probability, divided by the total mixture density. This is a useful diagnostic, but it depends on the assumed component scales and \(q\).

Worked Example: Probability of the Broad Component

Suppose a hypothetical observation has residual \(r=0.8\) on the log scale. Use a regular standard deviation \(\sigma=0.2\), broad standard deviation \(\tau=2\), and \(q=0.05\). The ratio of broad to regular normal densities is:

$$ \frac{\phi(r;0,\tau^2)}{\phi(r;0,\sigma^2)} =\frac{\sigma}{\tau} \exp\left(-\frac{r^2}{2\tau^2}+\frac{r^2}{2\sigma^2}\right) =0.1\exp(7.92)\approx275. $$

The posterior odds for the broad component are prior odds multiplied by this density ratio: \((0.05/0.95)(275)\approx14.5\). Therefore the posterior broad-component probability is \(14.5/(1+14.5)\approx0.935\). This is conditional on the stated residual and model parameters; it is not a probability that the measurement is wrong. For a residual of \(0.1\), the density ratio is about \(0.113\), giving posterior broad-component probability about \(0.0059\).

Useful checks include plotting residuals against time and prediction, examining whether unusual residuals cluster at a particular phase or concentration range, and comparing posterior summaries under Gaussian, Student-\(t\), and mixture errors. For a mixture, inspect the inferred broad-component probabilities; for a Student-\(t\) model, inspect whether the fit depends strongly on the choice of \(\nu\) and \(s\). Also check convergence and posterior shape using the methods appropriate to the chosen posterior computation.

A robust likelihood is not a substitute for checking the data and model. An unusual concentration can arise from an input or assay issue, but a pattern of residuals may instead indicate a poor structural PK model, a misspecified residual scale, or dependence not represented by the likelihood. Down-weighting every observation in a systematic pattern can conceal model inadequacy. Conversely, deleting observations solely because they disagree with the model can create unjustified certainty.

Choosing an Approach and Recognizing Limitations

ApproachUseful featureMain caution
Gaussian residual likelihoodSimple, interpretable, and often computationally convenient when its assumptions are adequate.Large residuals can have high leverage; a single anomaly may strongly affect the posterior.
Student-\(t\) likelihoodAutomatically reduces the score contribution of large residuals through heavy tails.Degrees of freedom and scale affect robustness; the scale is not generally the standard deviation.
Contamination mixtureSeparates a regular-error component from a broad component and yields component probabilities.Mixture weights and scales may be weakly identified with sparse individual data.
Explicitly correcting or excluding a verified data errorAddresses a known data-quality problem directly.Requires evidence and transparent documentation; a statistical outlier alone is not sufficient evidence.

The Gaussian model is appropriate when its assumptions are credible and the data contain no meaningful tail departure. The Student-\(t\) model is a compact choice when occasional large deviations are plausible and a smooth, automatic reduction in influence is desired. A mixture is useful when a distinct broad-error mechanism is scientifically plausible and its probabilities are of interest. Neither robust model removes the need to specify a reasonable error scale, assess residual structure, and check sensitivity.

Common pitfall: “The robust model assigns a low weight to this concentration, so the concentration must be wrong.” This reverses the logic. A low weight or high broad-component probability says that the observation is less compatible with the regular-error component under the assumed model. It does not identify the cause. Check data provenance, residual patterns, model assumptions, and sensitivity before drawing a scientific conclusion.

Check Your Understanding

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

  1. Why does a Student-\(t\) likelihood limit the influence of very large residuals compared with a Gaussian likelihood?
  2. For \(\nu=4\) and scale \(s=0.3\), what is the residual standard deviation?
  3. A mixture model has \(q=0.1\). If the broad and regular component densities at an observation are \(0.02\) and \(0.40\), respectively, what is the posterior probability of the broad component?
  4. Why can the posterior standard deviation under a contamination mixture exceed the standard deviation under a regular Gaussian model?
  5. Give one reason why a high broad-component probability should not automatically lead to deleting an observation.

Solutions. (1) The Student-\(t\) score is \((\nu+1)r/(\nu s^2+r^2)\), which tends toward zero as \(|r|\) increases; the Gaussian score grows linearly with \(r\). (2) Since \(\nu>2\), the variance is \(s^2\nu/(\nu-2)=0.09(4/2)=0.18\), so the standard deviation is \(\sqrt{0.18}=0.4243\). (3) The broad-component probability is \(0.1(0.02)/[0.1(0.02)+0.9(0.40)]=0.002/0.362\approx0.0055\). (4) The mixture can assign posterior mass to component-specific parameter values that are separated, adding between-component variance to within-component uncertainty. (5) The observation may reflect model misspecification or ordinary tail variation rather than a verified data error; the probability is conditional on the mixture assumptions and does not establish the cause.

Clinical Biostats