30.29 Simulation protocol and reporting requirements
A reproducible power analysis needs a protocol written before production runs and a report that preserves resolved implementation details. The protocol states objectives, population model, uncertainty, scenarios, hypotheses, tests, criteria, Monte Carlo targets, failure rules, software/version, and validation plan. The report adds realised counts, results, deviations, diagnostics, and limitations.
Concepts to keep separate
- Archive the issued command and resolved settings because defaults and precedence can change across versions.
- Preserve model, data/design skeleton, EXT/COV inputs, parameter files, seeds, thread settings, and checksums.
- Retain replicate-level evidence rather than only HTML or plots; aggregates must be independently recomputable.
- Report every scenario, failed cell, denominator, interval, and deviation from plan.
Terminology matters because a single scenario can contain several denominators and several sources of randomness. Truth is the parameter vector used to generate a replicate. Estimate is the value recovered from that replicate. Design is the planned arrangement of subjects, arms, doses, and observations. Method is the approximation or simulation–estimation procedure used to predict performance. A credible report labels all four.
Mathematical or operational walkthrough
A defensible result sentence is: ‘Under the stated reference model and reduced FO FIM, 44 total subjects reached 80% Wald power for CL~WT=0.75 versus 0; a 20-replicate SSE smoke run was directionally consistent but too imprecise for qualification.’ This names method, estimand, effect, null, and evidence boundary.
For novices, read every expression from the inside out: identify the scientific effect, identify the null value, put both on the same parameter scale, identify the variance or information that belongs to the actual design, and only then calculate a test statistic or sample size. Units and parameterisation should cancel in a way that leaves a dimensionless statistic.
How this maps to nlmx
Plots explain trends, while CSV and JSON artifacts remain authoritative. Generated checksums should be verified before and after transfer into an evidence archive.
Chapter 30 explains the statistical and implementation concepts. Chapter 31 gives the complete nlmx power command, every CLI and settings control, precedence, output schema, and production workflow. This separation is deliberate: choosing an option correctly requires understanding which estimand and assumption it changes.
Quality-control checklist
- Can a reviewer reproduce the exact run?
- Are all input versions and checksums preserved?
- Are denominators and uncertainty beside point estimates?
- Are limitations written as prominently as conclusions?
The graph is explanatory; the CSV, JSON, resolved settings, model inputs, and replicate rows are the authoritative evidence. When a plotted point looks surprising, diagnose the underlying rows before changing the design.
Common mistakes
- Saving only screenshots
- Omitting runs that contradicted the preferred design
- Using ambiguous labels such as ‘required N’ without method
Also avoid copying a sample size from a nearby project. Power is conditional on the model, tested effect, covariate distribution, schedule, residual and random variability, attrition, test, estimator, and success criteria. Similar-looking studies can have very different information.
Evidence to retain
- scientific question, estimand, hypothesis, alpha, target, and criteria;
- model/data/design inputs, parameter source and uncertainty distribution;
- software version, method, approximation, seed, threads, command, and resolved settings;
- scenario grid, row-level results, failures, denominators, intervals, diagnostics, and checksums;
- scripts that calculate derived tables and figures, plus the interpretation and limitations.
Navigation
See the previous page, next page, and formula and decision index.