Documentation

18.40 Reproducibility, performance, and known limits

Reproduce estimation with executable version, control stream, data, command, resolved options, hardware, threads, seeds, solver tolerances and output checksums. Deterministic methods should be scientifically invariant to thread count; record numeric tolerance even when byte identity is expected.

Performance depends on subjects, observations, ETAs, estimated elements, structural solver, approximation, mode iterations and covariance. Covariance may cost many more evaluations than optimization. Report wall time distributions for release builds, not one fastest run.

Known limits matter: classical methods approximate nonlinear ETA integration; local optimization can find local minima; covariance is local/asymptotic; shrinkage limits individual inference; supported model syntax is finite; and cross-software agreement requires exact alignment. Speed does not remove these limits.

Archive numerical evidence separately from conceptual diagrams. The Chapter 18 calculations are deterministic teaching cases, while general accuracy claims require Chapter 42’s external reference matrix.

Practical interpretation

Maintain two dashboards: numerical validation and performance. The first fixes accuracy targets and records prediction, OFV, estimate, covariance and decision agreement. The second measures wall time, CPU, memory and scaling only for cases that pass the numerical gate. This ordering prevents speed optimization from silently weakening estimation accuracy.

When a faster algorithm uses a different approximation, describe it as a different accuracy–speed tradeoff rather than a direct acceleration of an identical calculation. Users can then choose appropriately for exploratory screening versus final inference.

Keep validation cases immutable and add new cases rather than overwriting inconvenient history. Re-run the full gate after changes to model parsing, event handling, derivatives, linear algebra, parallel reduction or reporting. A speed optimization in any of those layers can alter numerical behavior.

Common mistakes

Do not benchmark different tolerances/models, equate reproducibility with validity, or claim major-software replacement from a few matching examples.

Checklist

  • Capture complete provenance.
  • Benchmark aligned release workloads.
  • Test thread and start sensitivity.
  • Publish known failures/limits.
  • Gate claims on validation evidence.

Further reading

Proceed to Chapter 19 for SAEM and importance sampling, Chapter 20 for fit, or return to the Chapter 18 overview.