40.13 Diagnostics, VPC, NPC, and uncertainty
What you will learn
- Align residual and prediction definitions
- Compare VPC binning/correction/censoring policies
- Validate plots through their underlying tables
Prerequisites: Chapter 39 troubleshooting, Chapter 36 command reference, and Chapter 38 output reference.
This page is scoped to nlmx 4.16.2 and an external-documentation snapshot of 2026-11-10. Product names describe different system boundaries; a blank or “outside role” is not a quality ranking. Treat every migration as a new implementation until model semantics, analysis population, objective definition, numerical behavior, outputs, and decisions have been independently reconciled.
NONMEM produces predictions/residuals and simulations; PsN provides established VPC/NPC workflows around NONMEM; Monolix provides integrated diagnostic plots and VPC; nlmx provides GOF, VPC/pcVPC/pvcVPC/NPC, stratification, parameter uncertainty, and publication outputs. Similar plot names do not imply identical data.
Align PRED/IPRED definition, EBE/mode/conditional mean, residual type, excluded records, back-transformation, filter, stratification, bin algorithm/edges, observed/simulated percentiles, confidence intervals, prediction/variability correction, LLOQ/censoring order, and parameter-uncertainty source. PsN's split simulation settings can affect random streams; nlmx promises thread-count independence.
Compare machine tables first: bin membership/counts, observed quantiles, replicate quantiles, interval endpoints, censoring proportions, failed replicates, and random seed. Then visually compare axes, scales, units, facets, legends, and clipping.
nlmx has no upper-LOQ or dropout/adaptive VPC mechanism, and categorical VPC needs model-generated categories in ICALL=4. These boundaries require an alternate qualified workflow rather than cosmetic plot matching.
Plot equivalence checklist
Export the underlying numeric table from each workflow. Confirm bin edges and membership, observed N, simulated replicate count, quantile definition, confidence interval method, correction denominator, LLOQ ordering, excluded rows, and parameter-uncertainty draw. Recreate one panel independently from the table. Only after the numbers agree should you compare themes, ribbons, lines, and labels. A visually similar VPC can hide different bins or censoring rules.
Primary source note: See the official PsN command catalogue and Monolix VPC documentation.
Review checklist
- Are the exact product versions, task boundaries, inputs, methods, and settings named?
- Were semantics and frozen-parameter results aligned before optimized outputs?
- Is the comparison using a method-appropriate deterministic or stochastic tolerance?
- Are unsupported or analogous features described without implying equivalence?
- Can every claim be reproduced from retained primary evidence?
Navigation
See the previous page, next page, and complete comparison reference.