38.13 vpc and npc output dictionary
VPC/NPC tables separate observed records, bin summaries, coverage, parameter draws and optional simulated observations. The bin table is not record-level data; the observation table is not the simulation distribution. Join only on documented keys and retain stratum/bin definitions.
Files produced by vpc
The table is a versioned contract for nlmx 4.16.2. “When present” is part of the schema: absence can mean disabled, not applicable, no qualifying rows, an earlier failure, or a defect. Distinguish those states with the summary/log and expected configuration.
| File or pattern | Format | When present | Row/object grain | Purpose | Key fields or structure | Units | Role |
|---|---|---|---|---|---|---|---|
vpc_bins.csv |
CSV | VPC/pcVPC/pvcVPC bins calculated | one row per stratum and bin | observed percentiles, simulated intervals, outside flags, optional BLQ intervals | STRATUM,BIN,LOWER,UPPER,IDV_MIN,IDV_MAX,IDV_MEDIAN,N_OBS,PRED_MEDIAN,P*_OBS,P*_SIM_LO,P*_SIM_MEDIAN,P*_SIM_HI,P*OUTSIDE,BLQ* | IDV/DV units; percent | primary |
vpc_observations.csv |
CSV | always | one row per observed record used | bin membership and raw/corrected observed values | ID,ROW,STRATUM,BIN,IDV,DV,PRED,PRED_BIN,DV_CORRECTED,LLOQ,BLQ | IDV/DV units | primary |
npc_results.csv |
CSV | NPC calculated | one row per stratum and prediction interval | lower/upper tail coverage against expected and binomial interval | STRATUM,PI,N_OBS,BELOW_N,BELOW_PCT,BELOW_EXPECTED_PCT,BELOW_CI_LO_PCT,BELOW_CI_HI_PCT,BELOW_OUTSIDE,ABOVE_* | percent | primary |
vpc_parameters.csv |
CSV | parameter uncertainty enabled | one row per simulation parameter set | THETA/OMEGA/SIGMA draws used | REP plus parameter labels | parameter-specific | primary |
vpc_simulations.csv |
CSV | --write-sims | one row per replicate × observation | large simulated-observation table for independent reproduction | REP,ID,ROW,STRATUM,IDV,DV_SIM | IDV/DV units | primary |
vpc_summary.txt / vpc_summary.json |
text / JSON | always | one run summary | inputs/settings, strata, bins, NPC, uncertainty, warnings, and notes | format-dependent | mixed | machine summary |
vpc_settings.vpc |
TOML | always | one resolved recipe | effective VPC settings for exact rerun | all VPC settings | setting-specific | reproduction |
vpc_report.html / svg/*.svg / plots/** |
HTML / SVG / PNG | enabled and applicable | report or one chart per stratum/type | VPC, BLQ, and NPC review/publication graphics | visual/table document | axis-specific | presentation |
Reading sequence
- Confirm the command, nlmx version, exit status, output root and settings/CLI overrides.
- Open the text/JSON summary to understand status, warnings, counts and conditional branches.
- Validate the primary table headers and expected row grain before parsing values.
- Reconcile row counts and identifiers across related files.
- Trace important estimates, classifications or decisions to the native model/data evidence.
- Inspect HTML and figures after verifying their source tables.
- Verify checksums and retain the complete tree, including failures relevant to denominators.
Common parsing mistakes
- treating an optional missing file as an empty successful result;
- grouping at subject level when the table is subject-by-occasion, replicate or simulation;
- using displayed text/plot rounding as the analytical value;
- joining dynamic files by row position;
- losing exclusions, failed fits or warnings while copying only the selected result;
- assuming units from a familiar column name rather than the run's data/model/settings;
- parsing a cache/checkpoint as if it were a stable final-results API.
Review questions
- Does every row have a clearly stated grain and candidate primary key?
- Are denominators and failure states retained?
- Are units and transformations traceable?
- Is the file a primary result, reproduction recipe, presentation, or operational state?
- Can a second analyst reproduce the reported value from retained inputs and settings?
Navigation
See the previous page, next page, and complete output reference.