15.11 Subject-specific terminal overrides
Global lambda-z rules make treatment consistent. Some profiles nevertheless require a prespecified or reviewed exception—for example, an assay anomaly at one time or a known distribution point. [[lambda_z.overrides]] records those decisions in the settings file.
[[lambda_z.overrides]]
id = "7"
occasion = 2
from = 8
to = 48
exclude = [24]
id is required for a targeted override. occasion narrows it to one dose interval; without occasion the override applies to all of that subject's occasions. from and to choose a range, points chooses the last N samples, exclude removes exact postdose times, and skip=true suppresses terminal estimation for the matched profile.
Precedence within an override
Use one clear selection strategy per profile. Combining a range, point count, and exclusions may be accepted but is harder to audit. The final selected observations and regression still appear in nca_lambda_z.csv, while nca_profiles.csv identifies IN_LAMBDA_Z. Verify the effect rather than inferring it from configuration alone.
IDs can be written as text or numbers in TOML; internally they are normalized to text. Quoting preserves leading zeros such as "007". Occasion is the constructed dose number, not necessarily a study-period label, so reconcile it with nca_parameters.csv before targeting.
Governance
Every manual change should have a reason independent of the desired result: protocol rule, documented sample issue, or blinded review criterion. Keep a table of subject, occasion, original automatic window, override, rationale, reviewer, date, and effect on downstream parameters. Sensitivity output should go into a different directory.
An override does not transform weak evidence into strong evidence. Low adjusted R², short span, few points, and excessive extrapolation remain relevant and can still create flags.
Common mistakes
- Selecting a window because its half-life matches expectations.
- Using numeric ID 7 when source ID
007is distinct. - Confusing occasion number with treatment period.
- Failing to preserve the automatic result for comparison.
Checklist
- Match ID and occasion exactly.
- Use the smallest justified override.
- Verify selected points in both audit tables and plot.
- Retain diagnostics and downstream consequences.
- Record blinded rationale and reviewer.
Further reading
See global terminal controls, lambda-z audit tables, and terminal selection theory.