14.12 Terminal span, stability, and diagnostic flags
A visually straight line can still cover too little time to support a stable terminal half-life. nlmx measures terminal-window span in estimated half-lives:
span ratio = (terminal end − terminal start) × lambda_z / ln(2)
The default minimum is two half-lives. A selected window below that threshold receives a short-span diagnostic. If the configuration requires the span criterion, lambda_z and parameters that depend on it are omitted instead. This separation between flag and omit lets an analysis retain exploratory values without silently treating them as release-quality results.
Read the diagnostics together
Adjusted R², number of points, and span answer different questions. Adjusted R² describes agreement with a straight log-linear line. Point count describes how much independent information was used. Span describes how much of the estimated decay the window covers. Three nearly identical late observations can have excellent R² yet cover a small fraction of a half-life; many observations across a long window can expose curvature that lowers R².
Typical conditions include no estimable lambda_z, too few points, adjusted R² below the configured minimum, and a short terminal span. The exact output names belong to the command reference, but their interpretation is consistent: each tells the reviewer which evidence requirement was not met. A flag is not a statistical confidence interval and does not quantify all uncertainty.
Stability analysis
For an important profile, compare adjacent plausible windows and, where justified, alternate regression weights. Stable terminal behavior produces similar slopes and downstream extrapolation. Large changes after adding or removing one point indicate weak identification, even when one window passes a threshold. Also inspect residuals around the fitted line and the sampling schedule: rounded assay values, BLQ handling, or a last observation close to quantification can dominate the tail.
No single cutoff establishes biological validity. Thresholds are release rules that should be fixed before reviewing treatment differences. If two treatments have systematically different terminal coverage, applying the same threshold may still create asymmetric missingness that deserves discussion.
Common mistakes
- Reading adjusted R² as proof of a terminal mechanism.
- Confusing number of samples with span in half-lives.
- Removing a flag from a table while retaining its dependent estimate.
- Changing the threshold separately for individual profiles.
Checklist
- Recalculate the span ratio from the selected window.
- Review R², adjusted R², point count, and span together.
- Test adjacent scientifically plausible windows.
- Trace every flag to affected downstream parameters.
- Predefine whether failures are flagged or omitted.
Further reading
See infinite-area extrapolation, half-life interpretation, and validation design.