11.12 Values, types and missingness: VAL01–VAL10
Value checks ask whether each token can be interpreted safely, not whether the whole record is scientifically coherent.
| IDs | Rule |
|---|---|
| VAL01–VAL02 | special items numeric; other text explicitly DROPped |
| VAL03–VAL04 | missing markers and decimal notation compatible |
| VAL05 | ID and TIME always present |
| VAL06 | no undeclared numeric sentinel codes |
| VAL07–VAL08 | finite, plausible magnitude, no field over 24 characters |
| VAL09 | numeric IDs are whole, ≤15 digits and remain distinct |
| VAL10 | every column has at least one value |
Missing is not zero
Defaults recognize blank or . as missing for QC purposes. Strings such as NA, NULL, NAN, - and ND are reported because NM-TRAN cannot read them as intended numeric missing values. A blank DV on an observation can later become a fitted zero in NONMEM conventions; REC04 catches that record-level consequence.
Sentinels such as -99 and 99999 are numeric, so a parser accepts them. VAL06 searches configured sentinels to stop them entering ranges, covariate summaries or likelihoods as real measurements.
ID precision
Identifiers like 001 and 1 become the same numeric ID. Very long integer strings can lose precision. Preserve original identifiers in a DROP column and create a controlled numeric analysis ID with a documented mapping.
Common mistakes
- Replacing all missing values with zero.
- Declaring a genuine -99 measurement as a sentinel without context.
- Assuming text subject IDs will work because they are unique.
- Ignoring an entirely empty “reserved” column.
Checklist
- Define allowed missing markers and sentinels.
- Verify decimal point and absence of thousands separators.
- Create and retain an ID mapping when renumbering.
- Review field length and magnitude in source units.
Further reading
See numeric/missing tokens, observation completeness and value defect case study.