Documentation

12.22 Estimation and table corrections

Estimation corrections are interaction, maxeval, posthoc, and covariance. Table corrections are table_files, table_options, table_items, and table_unused. The first three estimation corrections and the first two table corrections are enabled by default; covariance, table_items, and table_unused are off by default.

Estimation corrections

interaction adds INTERACTION when residual error depends on a prediction or ETA and the method makes interaction relevant. maxeval makes an optimization limit explicit. posthoc adds individual-estimate calculation for FO when tables or code require it. covariance adds a covariance step and is intentionally off by default because a stable minimum and appropriate covariance method cannot be inferred from syntax alone.

Each option affects execution. Review estimator assumptions, runtime, convergence, and objective comparability. An added option can make a control stream more complete while still being wrong for the intended analysis.

Table corrections

table_files resolves missing or duplicate file destinations. table_options adds consistent options such as ONEHEADER and NOPRINT. table_items, off by default, can alter requested variables. table_unused, also off by default, connects otherwise unused model values to table output. The latter two infer more intent and should be enabled only with a specific output specification.

For the worked example, qc-nm adds INTERACTION, MAXEVAL=9999, ONEHEADER, and NOPRINT. The existing table filename is retained. The resulting source passes the related static checks; only an actual NONMEM run can confirm execution and output.

Common mistakes

  • Reading a default MAXEVAL value as universally optimal.
  • Adding covariance before checking convergence and gradients.
  • Letting automatic table changes silently alter a downstream schema.
  • Assuming POSTHOC resolves shrinkage or identifiability concerns.

Checklist

  • Match each inserted estimator option to a documented need.
  • Confirm the intended estimation sequence and uncertainty step.
  • Compare table headers and row counts before and after.
  • Test every downstream consumer against the corrected schema.
  • Preserve execution logs and numerical comparisons.

Further reading

See estimation checks, table checks, and correction controls.