Documentation

Chapter 16. autoinit: initial estimates from the dataset alone

nlmx autoinit proposes starting values for population PK models without a control stream or population fit. It combines non-compartmental analysis, individual nonlinear least squares, and simulation-based nearest-neighbour learning, then writes parameter tables, variability/error suggestions, regimen evidence, figures, and paste-ready NONMEM blocks.

autoinit workflow

Figure 16.1. autoinit sits between checked PK data and structural screening/fitting; its values are starting proposals, not fitted population results.

Novice promise

This chapter assumes you understand dose and concentration records but may not know why a model needs starting values, why CL/F differs from CL, or how sparse data change what can be learned. Each method is explained operationally, and every output page separates direct evidence from a labelled rule of thumb.

Scope and evidence

Behavior was checked against nlmx 4.5.0, the annotated .init template, installed help, and docs/AUTOINIT.md. The opening index lists only options consumed by autoinit, including shared flags displayed under other help headings, and calls out tempting flags that are not supported.

pytools/ch16_examples.py generates and runs six deterministic examples under documents/ch16: one-compartment oral, two-compartment IV, pooled mixed regimens, sparse pediatric-style sampling, IV/oral crossover, and scaled mg–ng/mL data with transit blocks. txtnlmx_version.txt freezes the executable identity.

Thirty-six Markdown pages

This overview plus the complete command index and 34 numbered pages cover data/route/regimen preparation; NCA, NLS, ML and recommendation rules; OMEGA, residual error and correlation; scaling and structural parameters; settings, figures and every output file; blocks, troubleshooting and reproducibility; six worked cases; and validation limits.

Central rule

A reasonable starting value is successful when it has the right scale, respects route/units/structure, and helps a later fit find a defensible optimum. It does not become a final estimate merely because it is close to simulated truth. Always inspect SOURCE, NOTE, method disagreement, route evidence, individual values, and the later model's convergence diagnostics.

Start with the complete command and option index, then run the first guided example.