Documentation

16.2 Your first autoinit run

For a checked PK dataset with standard columns:

nlmx autoinit data/pk.csv -o results/pk_autoinit

The default auto method runs every method the data support. Without -o, output goes beside the dataset as <stem>_autoinit. Publication plots are not written unless requested, although the HTML report contains web figures.

Read the transcript

The terminal reports subject, observation, BLQ and dose counts; inferred route and evidence; dose proportionality notes; methods used; recommended parameters, OMEGA and residual errors; and the output location. A completed run can still contain method failures or rules of thumb, so read notes rather than stopping at “complete.”

Open these first:

  1. autoinit_summary.txt for the full listing.
  2. initial_estimates.csv for method/recommendation/source columns.
  3. regimens.csv for route and dosing-design interpretation.
  4. individual_estimates.csv for subject-level CL/V/KA evidence.
  5. nca_results.csv when NCA ran.
  6. init_blocks.txt for model proposals after reviewing the above.

Freeze a settings-driven run

nlmx autoinit --print-config pk.init
nlmx autoinit -c pk.init -o results/pk_autoinit_release

Set mappings, route, groups, BLQ, method, seed, scaling, outputs, and optional plots. Relative paths resolve from the settings file. CLI values override file values.

For a first visual review:

nlmx autoinit -c pk.init --plots --y-scale log `
  --plot-format both -o results/pk_autoinit_plots

Use a new directory for each sensitivity run.

First-run acceptance

Confirm route/dose counts, plausible CL/V/KA scale, F1 interpretation, OMEGA sources, and whether two-compartment parameters are data-supported or rules. If NCA, NLS, and ML diverge, investigate instead of choosing the most familiar value.

Common mistakes

  • Copying RECOMMENDED without SOURCE and NOTE.
  • Expecting publication PNGs without --plots.
  • Treating groups as separate populations.
  • Running with dose/concentration unit mismatch and fixing numbers manually.

Checklist

  • Verify nlmx version and input counts.
  • Read route evidence and regimen summary.
  • Compare method columns.
  • Confirm unit scaling before blocks.
  • Preserve log, settings, outputs and checksums.

Further reading

See dataset requirements, outputs, and troubleshooting.