28.6 How $INPUT controls the generated dataset
The generated file follows $INPUT names and order. Standard items such as ID, TIME, AMT, RATE, II, ADDL, SS, EVID, MDV, DV, CMT, TAD, DVID, BLQ, DOSE, age, weight, sex, and arm receive role-specific values. Additional named covariates populate same-named items. Unused unknown items receive zero with a note; if model code uses an item that cannot be generated, the run stops.
Why this matters
This decision changes what population, random quantity, time interval, or numerical summary the command represents. For a novice, the safest habit is to write the question in one sentence before choosing an option, then verify that the resolved settings and output columns express that same question. For a reviewer, the important distinction is between what was assumed, what was randomly generated, what was calculated, and what can legitimately be concluded.
Detailed behavior
- Column detection uses documented synonyms and can be overridden with
--weight-col,--age-col,--sex-col, and--arm-col. - DROPped items are never populated.
- Age units can be years, months, or days in settings; the generator internally reasons in years.
- A generated covariate absent from
$INPUTcan still guide dosing or summaries, but is not written into the NONMEM dataset.
The subject-level table is the bridge between the design and the exposure result. Use it to check IDs, arms, population labels, age, sex, weight, dose, interval start, tau, ETA values, and added covariates. Use the metric table to check one row per subject and simulation, the requested metric columns, and COVERED. Use pooled and replicate summaries for different purposes: pooled rows describe all simulated subject outcomes, while replicate intervals describe how a finite simulated study result varies from study to study.
Example command or settings fragment
nlmx sims run.ctl --weight-col BWT --age-col AGEY --sex-col GENDER --arm-col TRT --covariate 'CRCL=normal(100,20)[30,200]'
Start with a small smoke run and inspect the transcript before scaling. For command-line work, quote expressions containing comparison signs, brackets, or commas as required by the shell. For a permanent analysis, prefer a settings file: it exposes settings-only controls, resolves paths relative to itself, rejects unknown keys, and is echoed in fully resolved form with the output.
Interpretation and quality control
Inspect the header, at least one dose record, one observation record, and representative subjects before relying on simulation. Confirm that every model-used covariate varies as intended and that same-time dose/observation ordering matches the model convention.
At minimum, reconcile the console summary with the CSV/JSON result, inspect warnings and notes, confirm subject and observation counts, verify requested groups and targets, and review the source model's applicability. A chart can reveal shape and subgroup patterns, but every reported number should come from the tables. If a result changes a decision, run a prespecified sensitivity for Monte Carlo stability, parameter uncertainty, population assumptions, and the metric-profile source.
Common mistakes
- Assuming column names alone override positional
$INPUTmapping - Leaving a model-used covariate at an unintended zero
- Failing to review DROP and alias behavior
Also avoid overwriting a completed evidence folder merely to change styling. Create a new scenario directory or preserve the prior checksums so analytical changes remain distinguishable from presentation changes.
What to retain and report
- the nlmx version, complete issued command, submitted settings, and resolved
_settings.sims; - CTL, selected EXT, optional COV or parameter table, and supplied dataset or population-generation assumptions;
- seed, subproblems, thread count, ETA/EPS and parameter-uncertainty policy;
- metric interval, tau, profile source, grid, integration rule, group definitions, and target limits;
- numerical tables, JSON, HTML, figures, transcript, checksums, warnings, sensitivities, and scoped interpretation.
Navigation
See the previous page, next page, and complete sims command and settings index.