27.30 Replicate count, Monte Carlo stability, and seed
The default is 1000 replicates and the minimum is 20. Required precision depends on tail percentiles, CI level, stratum size, censoring, and whether parameter uncertainty is included. More replicates stabilise band limits and NPC confidence intervals but do not increase observed-data information.
Novice translation
This topic changes three practical decisions in a predictive-check review. First, use smaller counts for smoke tests and larger, justified counts for decisions or publications. Second, repeat or increase replicates when outside flags sit near a band boundary or conclusions vary with seed. Third, because streams are thread-independent, rerunning the same version/settings/seed should be identical. Keep those decisions separate: one defines what is simulated or summarised, another controls how evidence is displayed, and the last controls what conclusion the evidence can support. A reviewer should be able to reproduce each decision from the resolved settings and numerical tables, not infer it from the appearance of the figure.
What to understand
- Use smaller counts for smoke tests and larger, justified counts for decisions or publications.
- Repeat or increase replicates when outside flags sit near a band boundary or conclusions vary with seed.
- Because streams are thread-independent, rerunning the same version/settings/seed should be identical.
Practical interpretation
Record runtime and memory together with N; production qualification should show that material conclusions are stable.
Evidence to retain
For replicate count, monte carlo stability, and seed, retain the issued command, vpc_settings.vpc, the source model/data/result identifiers, seed and replicate count, the relevant CSV/JSON fields, warnings and notes, and the exact figure used for interpretation. Record any sensitivity run that changed the conclusion. If an option was selected after seeing the data, label that analysis exploratory. This evidence separates a reproducible diagnostic decision from a visual impression and lets another pharmacometrician check counts, transformations, exclusions, and uncertainty assumptions.
Common mistakes
- Publishing a smoke-test run
- Changing seed until flags disappear
- Assuming more simulations fix sparse data
Page checklist
- Plan precision
- Use explicit seed
- Assess stability
- Archive runtime/resources
Further reading
See previous page, next page, complete VPC command and settings index.