18.39 Cross-software acceptance tolerances
A validation protocol defines metrics and tolerances before results are seen. Separate prediction error, OFV-at-fixed-parameters error, final OFV difference, parameter relative/absolute error, covariance/SE error, convergence classification, and model-selection agreement.
Use absolute tolerance near zero and relative tolerance away from zero. Compare covariance on both natural and transformed/derived scales. Record whether alternative optima exist; two programs can correctly find different local optima from different starts.
Create strata by analytic versus ODE, route, compartment count, error model, OMEGA block, censoring, sparsity, nonlinearity and boundary behavior. Include failure cases: validation must reproduce refusal/warning behavior, not only successes.
Speed comparisons must hold numerical accuracy and workload constant. A faster result outside tolerance is not equivalent; a stricter solver may cost more for defensible reasons.
Practical interpretation
An acceptance row might specify: fixed-parameter prediction maximum relative error, OFV absolute difference, each parameter’s combined absolute/relative tolerance, covariance Frobenius or elementwise tolerance, and matching convergence class. Define special handling near zero and for alternate optima. The row should also state whether failure to fit in either tool is an expected test outcome.
Summarize pass rates by scientific stratum, but retain every case-level result. A high overall percentage can hide systematic failure for censored, sparse or nonlinear designs—the very cases where accuracy matters most.
Define an escalation rule for near misses: independent rerun, tighter numerical settings, fixed-parameter cross-evaluation, and source-level review. Never widen tolerance solely because one case failed. If the difference is scientifically negligible but exceeds a prior limit, document the limit revision prospectively for the next validation version.
Common mistakes
Do not choose tolerance from observed differences, average away catastrophic cases, or use percentage error for parameters near zero.
Checklist
- Predeclare metrics/tolerances.
- Use diverse success/failure strata.
- Separate numeric and decision agreement.
- Investigate every outlier.
- Version the acceptance matrix.
Further reading
See reproducibility and limits and planned Chapter 42.