Documentation

38.11 fit result and diagnostic dictionary

Chapter 38.11 visual
Output reference workflow

Fit outputs combine NONMEM-compatible artifacts with explicit CSV/JSON diagnostics. Use parameters.csv for labelled estimates, predictions.csv for record-level diagnostics, and the native .ext/.cov/.phi artifacts for interoperability and downstream commands. Always pair an estimate with approximation, convergence, covariance status, unit and model version.

Files produced by fit

The table is a versioned contract for nlmx 4.16.2. “When present” is part of the schema: absence can mean disabled, not applicable, no qualifying rows, an earlier failure, or a defect. Distinguish those states with the summary/log and expected configuration.

File or pattern Format When present Row/object grain Purpose Key fields or structure Units Role
<stem>.ext NONMEM-style text table always after fit result writing one row per iteration/special result row iteration history, final estimates, SEs, and fixed flags in NONMEM 7 layout ITERATION plus parameter labels; special rows -1000000000/-1000000001/-1000000006 parameter-specific; OFV primary
<stem>.cov / .cor / .coi NONMEM-style matrix covariance step succeeds square parameter matrix covariance, correlation (SE diagonal), and inverse covariance parameter labels and matrix values parameter-product / dimensionless / inverse primary
<stem>.phi NONMEM-style table always one row per subject individual ETAs, posterior covariance ETC elements, and objective ID,ETA*,ETC(,),OBJ ETA-specific; OFV contribution primary
<stem>.ctl or <stem>_final.ctl NONMEM control stream always one final model input model with fitted estimates as new initial values and data path adjusted NONMEM records model-specific reproduction
parameters.csv CSV always one row per parameter/derived quantity estimate, uncertainty, flags, variability/shrinkage, and boundary diagnostics parameter,label,estimate,se,rse_pct,ci95_lower,ci95_upper,fixed,same_as,unused_eta,derived,derived_value,eta_shrinkage_pct,near_boundary parameter-specific; percent primary
predictions.csv CSV table output enabled one row per evaluated observation record population/individual predictions and residual diagnostics ID,TIME,ROW,DV,PRED,IPRED,RES,IRES,IWRES,WRES,CWRES,FFLAG,EXCL,ETA*,DVID/carry columns TIME/DV units; residual-specific primary
no_drug_records.csv CSV predose observations excluded and retained one row per excluded observation documents observations before any drug ID,TIME,ROW,DV,PRED,IPRED,REASON TIME/DV units primary
data_columns.csv CSV always one row per source/header position documents $INPUT mapping, renames, drops, and unlisted columns position,data_header,input_name,status not applicable reproduction
fit_command.txt text command always one explicit rerun command all estimation settings written as CLI options nlmx fit command not applicable reproduction
fit_summary.txt / fit_summary.json text / JSON always one fit summary model, approximation, counts, OFV, convergence, covariance diagnostics, estimates, shrinkage, boundaries, SAEM details format-dependent mixed machine summary
report.html / plots/** HTML / PNG / SVG report/plots enabled one report and diagnostic figures parameter table, GOF, residual, ETA and objective diagnostics visual/table document display units presentation

Reading sequence

  1. Confirm the command, nlmx version, exit status, output root and settings/CLI overrides.
  2. Open the text/JSON summary to understand status, warnings, counts and conditional branches.
  3. Validate the primary table headers and expected row grain before parsing values.
  4. Reconcile row counts and identifiers across related files.
  5. Trace important estimates, classifications or decisions to the native model/data evidence.
  6. Inspect HTML and figures after verifying their source tables.
  7. Verify checksums and retain the complete tree, including failures relevant to denominators.

Common parsing mistakes

  • treating an optional missing file as an empty successful result;
  • grouping at subject level when the table is subject-by-occasion, replicate or simulation;
  • using displayed text/plot rounding as the analytical value;
  • joining dynamic files by row position;
  • losing exclusions, failed fits or warnings while copying only the selected result;
  • assuming units from a familiar column name rather than the run's data/model/settings;
  • parsing a cache/checkpoint as if it were a stable final-results API.

Review questions

  • Does every row have a clearly stated grain and candidate primary key?
  • Are denominators and failure states retained?
  • Are units and transformations traceable?
  • Is the file a primary result, reproduction recipe, presentation, or operational state?
  • Can a second analyst reproduce the reported value from retained inputs and settings?

See the previous page, next page, and complete output reference.