11.22 NONMEM readiness: NMT01–NMT03
The final family connects the dataset to the control-stream interface.
NMT01 asks whether the planned $DATA IGNORE skips the header and nothing unintended. Default IGNORE=@ skips records whose first nonblank character is a letter or @. That can hide malformed text-leading data rows as well as the header.
NMT02 generates suggested $DATA and $INPUT statements in qc_nonmem.txt. NMT03 inventories special data items and the requirements they place on the model.
Suggestions need review
The generated $INPUT reflects the dataset columns, DROP needs and detected items. Compare it position-by-position with the model. The generated $DATA path/IGNORE is a starting point; controlled projects may need relative paths or IGNORE/ACCEPT conditions.
Special items such as CMT, RATE, ADDL, II, SS, DVID or BLQ-related fields require matching model and likelihood behavior. Passing NMT checks does not prove a control stream consumes them correctly.
A safe hand-off to control-stream QC
Freeze the final dataset hash and copy the suggested statements into a comparison document, not directly over the model. Mark each $INPUT position as keep, alias or DROP and explain every difference from the suggestion. Test the actual $DATA IGNORE/ACCEPT behavior against the physical lines, then run qc-nm on the exact control stream. Finally execute a minimal parse/validation or model run so readiness is tested at the interface, not inferred from two independent reports.
Common mistakes
- Copying generated statements into a model without diff review.
- Using
IGNORE=@to conceal text errors. - Assuming the same
$INPUTorder from matching names alone. - Calling the dataset NONMEM-ready without testing the actual control stream.
Checklist
- Inspect every line that the proposed IGNORE would skip.
- Diff suggested and actual
$INPUTby position. - Verify special items against model code.
- Run
qc-nmand an execution-level validation next.
Further reading
See NONMEM file reading, header checks and the planned Chapter 12 on qc-nm.