Documentation

30.2 Conditional power, assurance, and precision

Conditional power, assurance, and precision
Supporting Chapter 30 calculation or executed result

The word power is often used too broadly. Conditional power fixes one parameter vector and asks how often the planned test rejects its null under repeated trials. Assurance averages that probability over a distribution of plausible parameter vectors. Precision criteria instead ask whether estimates, confidence intervals, or relative standard errors meet targets. These are related design summaries, but they are not interchangeable.

Concepts to keep separate

  • Conditional power is written P(reject H0 | theta equals the design truth). It is the cleanest way to compare designs at one chosen effect.
  • Assurance is the expectation of conditional power over a parameter distribution. It incorporates uncertainty about effect size, variability, and other influential parameters.
  • Precision may be expressed as SE, RSE, expected confidence-interval width, coverage, bias, or probability of meeting a precision threshold.
  • A design can have high detection power yet poor precision for nuisance parameters, or good typical precision with unacceptable convergence.

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

If plausible CL~WT effects are 0.45, 0.75, and 1.00 with weights 0.25, 0.50, and 0.25, assurance is the weighted average of the three conditional powers. It is not the power evaluated at the weighted-average effect because the power curve is nonlinear.

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

Use the term ‘assurance’ whenever truth is redrawn from model uncertainty. Report both the distribution used and conditional results at clinically interpretable values so readers can see what drives the average.

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

  • Is the parameter vector fixed or redrawn across trials?
  • If averaged, are weights and correlations preserved?
  • Does the success criterion concern testing or estimation?
  • Are conditional and unconditional summaries labelled separately?

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

  • Calling assurance ‘power’ without qualification
  • Substituting power at the mean effect for average power
  • Using RSE alone when the true parameter may be near zero

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.

See the previous page, next page, and formula and decision index.