Chapter 30 — Trial design theory: sample size, power, SSE, and FIM
Trial-design calculations translate a scientific decision into a design that has an acceptable probability of producing useful evidence. In population pharmacokinetics and pharmacodynamics, that translation is unusually rich: subjects contribute correlated repeated observations; parameters are nonlinear and hierarchical; covariate distributions affect effect information; estimation can fail; dropout, missingness, compliance, and BLQ data alter what is observed; and several definitions of “power” can coexist.
This chapter builds the conceptual foundation for nlmx power. It is written for a novice reader but preserves the details needed by a pharmacometrician to audit calculations. Chapter 31 will document every command and settings control. Here the goal is to understand what those controls mean, which assumptions they change, and which evidence makes a sample-size recommendation credible.
What you will learn
- how to write a design question with a population, estimand, hypothesis, analysis, and success rule;
- why conditional power, assurance, parameter precision, and all-criteria success are distinct targets;
- how Type I error, Type II error, LRT, Wald tests, noncentrality, and sample size connect;
- how stochastic simulation and estimation generates, fits, tests, and aggregates complete virtual trials;
- how failures and test availability create several legitimate power denominators;
- how to plan enough replicates and interpret Monte Carlo standard errors and Wilson intervals;
- how parameter uncertainty changes conditional power into assurance;
- how the subject and population Fisher information matrices are constructed;
- why FO, FOCE, FOCE-I, reduced, and full FIM assumptions matter;
- how Cramér–Rao precision, Wald power, target lambda, and integer allocation yield sample size;
- how dropout, missingness, compliance, BLQ data, schedules, and allocation affect information; and
- how to combine FIM screening, SSE qualification, and independent validation.
Executed nlmx 4.14.3 evidence
The chapter preserves three calculations under documents/ch30/results, all based on the Chapter 29 analytic one-compartment oral project and the hypothesis CL~WT=0.75 versus zero.
| Calculation | Design grid | Key result | Appropriate interpretation |
|---|---|---|---|
| reduced FO FIM | N=20, 40, 80, 160 | target N=44 | rapid local planning approximation for the covariate effect |
| full FO FIM | N=20, 40, 80, 160 | target N=9 | optimism diagnostic; not the recommended design result |
| LRT SSE smoke run | N=40, 80; 20 replicates each | power 0.85 and 1.00 | workflow evidence only; intervals are too wide for qualification |
The reduced-FIM powers were 0.479, 0.769, 0.968, and 0.9997. At N=40, its CL~WT SE was 0.2781 and noncentrality 7.2739. Scaling to the 80% target noncentrality gave 43.16, rounded upward to 44. The full FIM counted fixed-effect covariance derivatives and returned N=9, an implausibly large gain for the same observations. This is a concrete lesson that sample size is inseparable from method assumptions.
The SSE fits all converged. At N=40, 17 of 20 LRTs were significant: power 0.85, Wilson 95% interval 0.640–0.948, MC SE 0.0798. At N=80, 20 of 20 were significant: power 1.00, interval 0.839–1.00. The N=40 scenario did not meet all parameter criteria even though it met the power target; N=80 did. These small runs intentionally teach denominator, interval, and multi-criterion interpretation.
The core chain of reasoning
- Define the decision. State what must be detected or estimated and why.
- Write the estimand and hypothesis. Fix parameterisation, null, alternative, alpha, test, and target.
- Describe the design. Specify population, allocation, dose, schedule, attrition, BLQ, and N denominator.
- Select the engine. Use reduced FIM for rapid local screening; use SSE for the actual finite-sample fitting pipeline.
- Prespecify criteria. Power alone is rarely enough; include convergence and critical parameter performance.
- Quantify uncertainty. Evaluate effect scenarios, parameter uncertainty, and Monte Carlo error.
- Validate and report. Verify arithmetic, determinism, output aggregation, and—where claims require it—independent software agreement.
Accuracy boundaries
FIM results are asymptotic local approximations. In nlmx 4.14.3, FIM missingness and dropout adjustments are approximations, while compliance and BLQ settings apply only to SSE. Full FIM may be strongly optimistic for covariate effects. SSE includes the intended estimator but remains conditional on the generator and can be imprecise or biased when replicate counts are small or failed fits are hidden. Neither method proves that the population model represents the future clinical population.
The chapter documents current implementation behavior and executed evidence. It does not claim numerical equivalence with NONMEM/PsN, PopED/PFIM, Monolix, or another package. Such claims require frozen cross-software inputs, matched definitions, prespecified tolerances, and a discrepancy log.
How to read the chapter
Pages 30.1–30.6 establish the design question, estimands, hypotheses, errors, tests, and noncentrality. Pages 30.7–30.15 explain SSE, data generation, re-estimation, failures, Monte Carlo precision, Type I calibration, and parameter uncertainty. Pages 30.16–30.24 derive the FIM, approximations, reduced/full choice, precision, sample-size scaling, and the worked 44-subject calculation. Pages 30.25–30.30 cover real-world design factors, method selection, additional criteria, reporting, and validation.
Use the formula and decision index for equations, interpretation rules, and links to the most relevant pages. Continue with 30.1 The trial-design question.