Documentation

17.15 Residual error models and log DV

Residual error describes observation-level deviations after structural prediction and random effects. combined includes proportional and additive components, proportional scales error with prediction, and additive uses a constant standard deviation on the analysis scale. The chosen error model is part of the likelihood, not cosmetic post-processing.

Use one prespecified error model across structural candidates when the goal is to isolate structural differences. If residual families are also uncertain, design a separate, controlled comparison and account for the expanded search. Combined error can be flexible but may estimate one component near zero; this is often a clue that a simpler residual form suffices.

--dv-log tells screen the dependent variable is already logarithmic. A proportional error on the original scale and additive error on the log scale can have related interpretations but are not automatically identical in likelihood, transformation Jacobian, censoring or reporting. LLOQ must be expressed on the expected scale.

Inspect maximum error-parameter RSE separately from maximum structural RSE in model_comparison.csv. The eligibility rule focuses on structural uncertainty by default, while an imprecise residual component still deserves review. Negative displayed shrinkage can occur from finite-sample formulas and should be interpreted with context, not clipped silently.

Plot conditional weighted residuals against time, prediction, dose and important design strata. A funnel can indicate scale-dependent error; time-local patterns often indicate structural or event-history problems. Residual diagnostics are most useful after the screen because criterion ranking alone cannot tell whether a flexible error component is compensating for misspecified pharmacokinetics.

Common mistakes

Do not compare OFVs from inconsistent DV transformations as though they share a likelihood, log-transform zeros without a defined rule, or let an oversized additive term hide early-time misspecification. A residual model cannot repair wrong dosing history.

Checklist

  • Define the DV scale and error equation explicitly.
  • Use consistent censoring and likelihood conventions.
  • Hold error structure fixed for structural screening when possible.
  • Review residual-parameter precision and boundaries.
  • Inspect residual plots after selection.

Further reading

See OFV comparability, Chapter 18 on likelihood, and Chapter 21 on diagnostics.