Documentation

13.25 Built-in derived record and subject columns

EDA adds columns that make common analyses possible without altering the source. Know whether each value is record-level or subject-level and how it is derived before using it in a custom output.

Record-level columns

Column Meaning
TAD Time after latest dose; if source TAD exists, computed value becomes TAD_CALC.
TAFD Time after first dose.
DOSE Latest dose amount unless a source DOSE column exists.
DVNORM DV divided by latest dose.
BLQ 1 when below LLOQ or flagged.
EVENT observation, observation_mdv, dose, or other.
PKOBS 1 for an observation of the PK DVID.
GROUP_ALL Combined label for several --group columns.

These values depend on record ordering and event mapping. Review same-time dose/observation rules and repeated-dose semantics before trusting TAD/DOSE.

Subject-level columns

Subject scope contains source columns from the first record, baseline covariates (first nonmissing), counts NOBS, NDOSE, NBLQ, doses DOSE1, TOTDOSE, and observed exposure: CMAX, TMAX, CMIN, CLAST, TLAST, AUCLAST, CMAXD, AUCLASTD.

Exposure covers the first dosing interval by default or the whole profile under [eda].exposure. AUClast uses linear-up/log-down integration and assumes concentration zero at the dose; BLQ values are excluded. Dose-normalized metrics divide by first dose.

Recalculate at least one subject manually: identify dose rows, compute TAFD/TAD at two observations, locate CMAX/TMAX, and trapezoidally reproduce AUCLAST. This small audit verifies record order, interval boundaries, BLQ exclusion, and normalization together. Repeat for a complex or extreme subject when the real design has multiple doses.

Common mistakes

  • Confusing source TAD with computed TAD_CALC.
  • Using latest dose in a design where another normalization is intended.
  • Treating first-record values as universally valid baseline definitions.
  • Calling observed AUCLAST a fitted or extrapolated AUC.

Checklist

  • Identify scope for every derived variable.
  • Validate event order and dose linkage.
  • State baseline and exposure-interval rules.
  • Review missing/extreme subject metrics against profiles.
  • Preserve the original data with derived outputs.

Further reading

See data mapping, exposure plots, and subject table.