Documentation

17.27 Settings sections, precedence, and paths

A .screen file makes a run reviewable. [data] holds dataset, column mappings, route, groups, filters, LLOQ/BLQ and DV scale. [models] holds compartments or explicit models, absorption, lag, TMDD, ETA, error and pruning policy. [estimation] holds approximation, iteration, gradient, covariance and scheduling controls.

[initial] contains explicit THETA/OMEGA/SIGMA starts. [autoinit] controls automatic methods, samples, neighbours, iterations, seed, threads and scaling. [selection] holds criterion, LRT alpha, BIC penalty, covariance requirement, and maximum RSE/condition/shrinkage. [output], [plots], and [plots.colors] control destination and presentation.

Command-line values override file values. --print-config should show the resolved configuration without relying on memory. Store settings beside the analysis manifest and use relative paths only when the working-directory rule is clear. The frozen examples invoke absolute paths to remove ambiguity in teaching transcripts.

Quote Windows paths and values containing spaces. Never assume a path is relative to the settings file unless the documented resolver says so; test by running from a different working directory or use an explicit root.

Keep secrets and machine-specific temporary paths out of a reusable settings file. A portable project uses stable relative inputs, an invocation-controlled output root, and a small environment record. If --print-config expands paths, archive that resolved view in addition to the portable source file.

When upgrading nlmx, print the old and new resolved configurations and diff them before fitting. A newly introduced default can change candidate construction or gates even when the source settings file is unchanged.

Common mistakes

Do not edit a settings file after a run without versioning it, forget that CLI overrides changed the analysis, or reuse one output directory for several configurations. A printed default from a different nlmx version may not apply.

Checklist

  • Group every choice in the correct section.
  • Print and archive the resolved configuration.
  • Record all command-line overrides.
  • Test path resolution and output isolation.
  • Bind settings, inputs and outputs with checksums.

Further reading

See the complete option index and reproducibility controls.