Documentation

20.17 Predose policy, prediction tables, and carried columns

By default, observations before any drug—before first dose, at its time with nothing absorbed, or in subjects without doses—are excluded when the model predicts zero drug. They remain in predictions.csv with PRED=IPRED=0, blank residuals and EXCL=1, and appear in no_drug_records.csv with reason.

Predose zero-prediction observations need an explicit policy

--keep-predose includes them like NONMEM. Use it for baseline/endogenous models or when zero predictions have valid residual likelihood; otherwise positive predose concentrations can dominate a drug-only model or proportional error can have zero variance.

predictions.csv is written unless --no-table. --carry-columns A,B appends dataset values for stratification/reporting; DVID is always carried when present. Columns resolve by header or $INPUT label, case-insensitively, including supported dropped/not-listed columns. Missing requested names are errors listing available columns.

The frozen run excludes 24 predose observations and writes them separately. This decision changes fitted observation count and likelihood and must be reported.

Decide the predose policy before fitting

Predose observations can represent true baseline, endogenous analyte, assay noise, residual drug from earlier treatment or incorrect event history. The correct treatment is a scientific decision. The default exclusion protects a standard exogenous-drug model from forcing zero-drug predictions to explain baseline measurements, while --keep-predose is appropriate only when the model defines their likelihood meaningfully.

Reconcile excluded rows in no_drug_records.csv by subject, study and nominal time. Unexpected exclusions often reveal missing doses, wrong EVID/MDV, sorting errors or an incomplete treatment history. Conversely, a predose row retained after prior dosing may be a legitimate washout sample rather than “before any drug.”

--carry-columns copies selected data context into prediction outputs; it does not add covariate effects to the model. Carry stable identifiers and strata needed for diagnostics, but avoid uncontrolled sensitive fields or ambiguous time-varying values. Verify carried values at every prediction row before using them for grouped plots.

Common mistakes

Do not delete predose evidence silently, replace blank residuals with zero, or carry confidential identifiers casually. --no-table saves work/storage but removes important diagnostics.

Checklist

  • Define predose scientific policy.
  • Count/explain excluded records.
  • Confirm EXCL/FFLAG semantics.
  • Choose carried design columns.
  • Protect identifiers.

Further reading

See predictions schema, data/events, and Chapter 21.