16.3 Dataset schema and event records
autoinit reads a headered comma-, tab-, or whitespace-delimited file. Rows beginning with # or @ are skipped. Column matching is case-insensitive, and mappings can be changed on the CLI or under [data].
| Role | Default | Requirement |
|---|---|---|
| Subject | ID |
Required. |
| Time | TIME |
Required and numeric. |
| Concentration | DV |
Required for observations. |
| Dose | AMT |
Required; positive values can infer doses. |
| Event | EVID |
Optional; inferred from AMT. |
| Missing DV | MDV |
Optional; inferred from EVID. |
| Compartment | CMT |
Optional, strongly useful for route. |
| Rate | RATE |
Optional; identifies infusion. |
| Repeats | ADDL, II |
Optional; expanded into doses. |
| Steady state | SS |
Optional; identifies SS dosing. |
Why full dosing history matters
NLS and ML simulate each subject's own doses and observation times. Incorrect ADDL/II, infusion RATE, SS, or dose time can therefore change the estimated typical parameters even if the concentration rows are intact. NCA chooses a specific interval, but the other methods use the full history.
Rows must be interpretable as dose or observation records. Explicit EVID/MDV reduces ambiguity. A positive concentration on an MDV=1 row is not automatically usable, and a blank DV on an observation row needs correct missingness coding.
Dataset scope
The command estimates one analyte and a linear PK structure at a time. Filter multiple DVID/analyte data to the intended endpoint. Parent–metabolite and PK/PD systems are not jointly modeled. Actual sampling times should be used when available; nominal times can distort absorption and terminal behavior.
Subject IDs are written to individual output. If sharing requires de-identification, create a controlled analysis ID before running and retain the key separately under governance.
Common mistakes
- Assuming only the first dose matters to every method.
- Leaving RATE in amount/minute while TIME is hours.
- Mixing analytes in DV.
- Expecting
--keep-subject-idsto toggle autoinit hashing.
Checklist
- Map every core/design column.
- Reconstruct several subject timelines.
- Verify ADDL/II/SS and infusion units.
- Filter to one intended analyte.
- Plan ID handling before creating outputs.
Further reading
Continue with filters and BLQ, route detection, and regimen pooling.