11.6 Columns, filters and groups
qc-data must know which columns carry pharmacometric meaning. Defaults are ID, TIME, DV, AMT, EVID, MDV, CMT, RATE, ADDL, II and SS, matched without case sensitivity. Map nonstandard names in [data]; do not rename a source dataset merely to satisfy defaults.
Optional columns activate checks
Naming TAD enables comparison with dose history. Naming nominal time compares actual and scheduled samples. DVID separates observation types. A row-specific LLOQ supports assays or studies with different limits. If these columns exist but are not configured, the associated checks can be N/A.
Filters change the QC population
filter removes any row that fails its expression, including doses and observations. obs_filter selects observation rows while retaining doses. Filtering changes counts, timelines, BLQ fractions, covariate summaries and outlier context. Record the unfiltered QC as well when excluded rows still need data-quality review.
Example:
[data]
filter = "STUDY != 3"
obs_filter = "DVID == 1"
This asks questions about a defined analysis subset, not the entire transfer.
Group columns
Columns such as STUDY, ARM or FORMULATION can be listed in groups. SUB03 then checks that they stay constant within a subject unless explicitly listed as time-varying groups. This catches accidental arm switching and merged IDs.
Verify the effective subset
After filtering, compare retained subject, dose and observation counts with an independently calculated flow table. Save both the full-transfer QC and the analysis-subset QC when each answers a different question. Give the two output directories unmistakable names. A clean subset does not clear defects in excluded rows, and a full-transfer warning may not affect the prespecified analysis; the review record should state which population each verdict covers.
Common mistakes
- Assuming a similarly named column was auto-detected.
- Filtering out bad rows before documenting their defects.
- Forgetting that a row filter also removes dose events.
- Declaring a changing visit variable as a constant group.
Checklist
- Map every special column explicitly.
- Activate TAD, nominal-time, DVID and LLOQ columns when available.
- State the population implied by every filter.
- Review group constancy expectations.
Further reading
See input mapping, row filters and subject checks.