Documentation

Chapter 30 formula and decision index

This page is a compact lookup for the theory in Chapter 30. It is not the nlmx power option reference; Chapter 31 documents every command, setting, default, precedence rule, and output column.

Power, information, and sample-size decision chain

Core probability definitions

Quantity Definition Interpretation
Type I error P(reject H0 given H0) = alpha false-positive probability of the procedure under the null
Type II error P(do not reject H0 given theta=theta1) = beta false-negative probability at the design alternative
conditional power 1−beta rejection probability at one fixed truth
assurance E over theta of conditional power(theta) rejection probability averaged over parameter uncertainty
empirical SSE power significant/evaluable nlmx primary test-specific rate among trials providing that test
conservative power significant/attempted failures count as not significant
converged-only power significant among converged/evaluable conditional on numerical convergence and test availability

See hypotheses, errors, failures and denominators, and parameter uncertainty.

Test statistics

For nested maximum-likelihood models, the likelihood-ratio statistic is

DeltaOFV = OFV_reduced − OFV_full.

For one regular restriction under H0, its asymptotic reference is chi-square with one degree of freedom. At alpha 0.05, the upper critical value is approximately 3.84146.

For a scalar Wald hypothesis, a signed statistic is (estimate − null)/SE; its square is compared with a one-df chi-square reference. A Wald test requires a valid SE. The LRT requires a valid reduced and full fit. See LRT, Wald, and score tests.

Noncentrality and asymptotic power

For one parameter,

lambda = (true value − null value)^2 / Var(estimate).

Power is the upper-tail probability of a noncentral chi-square variable beyond the central null critical value. At one df, alpha 0.05, target power 0.80, required lambda is approximately 7.8489. At lambda=0, power equals alpha. See noncentrality.

Monte Carlo error

For an empirical proportion p from R evaluable replicates,

MC SE = sqrt[p(1−p)/R].

An approximate 95% half-width is 1.96 × MC SE; report the Wilson interval, especially for small R or rates near zero/one. A planning approximation for half-width h is

R >= z^2 p(1−p) / h^2.

At p=0.80, R=100 gives MC SE 0.040 and approximate half-width 0.078; R=1,000 gives MC SE 0.0126 and half-width 0.0248. See Monte Carlo precision.

Subject Fisher information

For an approximately normal subject observation vector with mean mu and covariance V, nlmx uses

F_pq = (dmu/dp)' V^-1 (dmu/dq) + 1/2 tr[V^-1(dV/dp)V^-1(dV/dq)].

The first term is information from changes in the mean. The trace term is information from changes in covariance. Derivatives are central finite differences. Population information is the sum of allocated subject contributions. See mean and covariance information, derivatives, and population information.

FIM approximations and kind

Choice nlmx 4.14.3 meaning Main caution
FO linearise at eta=0 fastest, weakest for strong nonlinearity
FOCE average over eta draws; residual variance at eta=0 draw stability must be checked
FOCE-I average over eta draws; residual variance at eta-star more interaction detail and cost
reduced FIM omit dV/dp for mean-moving parameters recommended starting point for covariate effects
full FIM retain those covariance derivatives can be severely optimistic for covariate effects

The executed example returned N=44 reduced versus N=9 full. See approximations and reduced versus full.

Precision from information

Cov(estimate) approximately equals F^-1, SE_p = sqrt[(F^-1)_pp], and RSE_p = 100 × SE_p / |p| when p is sufficiently far from zero. This uses an asymptotic Cramér–Rao approximation. A singular or stabilised inverse signals identifiability difficulty. See Cramér–Rao precision.

Sample-size scaling

When design composition is fixed and information is proportional to N,

N_target = N0 × lambda_target / lambda_at_N0.

The executed reduced FIM used N0=40 and lambda0=7.273923:

40 × 7.8489 / 7.273923 = 43.16, then rounded upward to 44.

Rebuild the feasible integer allocation and recompute the design after rounding. See Wald scaling and the worked hand calculation.

SSE algorithm

For every scenario and replicate:

  1. construct the subject-level trial design;
  2. choose fixed truth or draw a parameter truth;
  3. simulate random effects, observations, attrition, and supported trial mechanisms;
  4. fit the full model;
  5. fit each null/reduced model;
  6. calculate LRT and available Wald evidence;
  7. retain estimates, SEs, truth, fit/test status, shrinkage, and runtime;
  8. aggregate with explicit test-specific denominators and intervals.

See SSE overview, trial construction, truth, and re-estimation.

Engine-specific design support in nlmx 4.14.3

Feature SSE FIM Consequence
sample size, allocation, effect multiplier, schedule applied applied comparable when configured identically
random missing rate applied expected information scaling mechanisms are not identical
dropout simulated design effect expected truncated-information average inspect approximation sensitivity
compliance below one applied not applied engines describe different dosing designs
LLOQ/BLQ action applied not applied final BLQ design needs SSE
estimator failures and bias observed not represented FIM cannot qualify operational robustness

See attrition and BLQ, schedules, and allocation.

Which method should I use?

Need First method Confirmation
screen many schedules or rough N values reduced FIM SSE on finalists
quantify fit failures, bias, or coverage SSE independent aggregation and diagnostics
include compliance or BLQ mechanisms SSE sensitivity scenarios
understand nonlinear FIM sensitivity FO/FOCE/FOCE-I comparison SSE
evaluate parameter uncertainty SSE assurance conditional scenario decomposition
make cross-software accuracy claims matched independent implementations prespecified tolerances and discrepancy review

Never average incompatible methods. Explain and resolve discrepancies. See choosing methods.

Minimum reporting set

  • question, estimand, parameter scale, H0/H1, alpha, target, test, and degrees of freedom;
  • population model and provenance, parameter source, uncertainty distribution, and admissibility rules;
  • sample-size denominator, allocation, doses, schedules, missingness, dropout, compliance, and BLQ handling;
  • software/version, method, FIM approximation/kind/step/draws or SSE estimation/start/covariance settings;
  • seed, threads, scenarios, attempted/completed/evaluable/converged counts, failure reasons, intervals, and MC SE;
  • power plus bias, RMSE, RSE, coverage, shrinkage, convergence, and critical parameter criteria;
  • resolved settings, row-level outputs, checksums, figure scripts, deviations, limitations, and validation scope.

See criteria, reporting, and validation. Return to the Chapter 30 overview.