Documentation

36.19 power command reference

power command reference

This chapter is a lookup reference for nlmx 4.16.1. Option tables are generated from the installed release executable. Read an option in the context of the command page: nlmx uses a global parser, but an accepted option can be irrelevant to a command unless its help text names that command or the command's method chapter defines the behavior.

The safe sequence is: identify the installed version, open that command's help, freeze input/settings/output paths, run into a new or empty output directory, inspect both the process status and the command-native verdict, and retain the log/resolved settings/checksums. A command line is reproducible only when its referenced files and software version are also frozen.

Synopsis

nlmx power [OPTIONS] [CONTROL_STREAM]

Required context. A model, full/reduced hypotheses, and a design/scenario grid. SSE needs estimable virtual trials; FIM needs a covariance/information specification consistent with the model.

What it does. Computes sample size and power by stochastic simulation-estimation, Fisher information, or both, including bias, precision, shrinkage, coverage, convergence, and power curves.

Principal outputs. Scenario-level power and precision tables, replicate diagnostics/checkpoints for SSE, FIM results, plots, report, settings, logs, and checksums.

Positional arguments shown by installed help

[CONTROL_STREAM]
          Control stream (.ctl/.mod) of the reference model; same as --ctl

Practical invocations

  1. nlmx power models/run101.ctl --method fim -c design.power
  2. nlmx power -c study.power --method both -o power

Start with installed help and, when available, generate the complete settings template before entering study choices. Run into a new or empty output folder. After completion, review the command's native summary/verdict, warnings, logs, resolved settings, and checksum manifest—not only the console's final line.

Complete installed option reference

The following 67 options are parsed directly from nlmx 4.16.1 power --help. The unmodified txthelp snapshot and its SHA-256 are preserved in the jsonhelp inventory. Shared descriptions sometimes mention several commands; apply only the clause naming power unless its method chapter specifies otherwise.

Options

Option Installed description
-h, --help Print help

Method

Option Installed description
--method <METHOD> Selection engine: frozen | scm (stepwise forward/backward on refits) | posterior | both (overrides method in the config)
--threads <THREADS> Worker threads for subject- and replicate-level parallelism (default: all cores). Results do not depend on this value

Input selection

Option Installed description
--model-dir <MODEL_DIR> Directory holding one NONMEM run family, matched on a common stem (e.g. run101.ctl/.ext/.cov); power: the folder with the run's <stem>.ext and <stem>.cov
--ctl <CTL> Control stream (.ctl/.mod)
--ext <EXT> Final estimates (.ext); sims: the parameter values of --estimates final; power: the final estimates (default: those of the control stream)
--cov <COV> Parameter covariance matrix (.cov); sims: with it every simulation of the study uses a new parameter set (parameter uncertainty); power: needed for --uncertainty
--data <DATA> Analysis dataset (overrides $DATA); sims: simulate this dataset instead of generating one

Core

Option Installed description
-c, --config <FILE> Settings file of the command (TOML syntax), with the command's extension: .covar (cov, posterior, inspect, validate, fit), .qcd, .qcn, .eda, .nca, .init, .screen, .vpc, .forest, .sims, .er, .power, .gen, .ask
-o, --output <OUTPUT> Output directory
--run-dir <RUN_DIR> Existing run directory, for resume
--overwrite Allow writing into a non-empty output directory
--dry-run Run the validation pipeline instead of the full analysis
--no-checkpoint Do not write replicate checkpoints (posterior engine)

Frozen method

Option Installed description
--approximation <APPROXIMATION> Likelihood approximation: auto (from $ESTIMATION, default) | fo | foce | foce-i | laplace; fit and screen also accept saem (SAEM with an importance-sampling objective); screen default foce-i
--alpha <ALPHA> Forward inclusion alpha (stepwise: p-value of the likelihood-ratio test to enter)
--uncertainty Enable MVN resampling of the frozen parameters from the .cov
--no-uncertainty Disable .cov uncertainty propagation

Posterior method

Option Installed description
--replicates <REPLICATES> Number of resampling replicates

Shared numerics

Option Installed description
--seed <SEED> Master seed (uncertainty draws, resampling, posterior draws, vpc simulations, autoinit ML)

Logging and output

Option Installed description
--suppress-console <0|1> 0 (default) prints progress to the terminal; 1 silences it (the log is still written)
--log-file <LOG_FILE> Write the transcript here instead of log_<id>.txt
--no-color Disable ANSI colour
--license Print the license (CC BY-ND 4.0), the third-party components, how long this version may be used and how to contact the author, and stop
-v, --verbose... Increase verbosity (repeatable: info -> debug -> trace)
-q, --quiet Errors only on the terminal (the log file is unaffected)
--keep-subject-ids Do not hash subject identifiers in outputs
--format <FORMAT> Output format for schema: txt | toml | json | json-schema [default: txt]

Fit

Option Installed description
--max-iterations <MAX_ITERATIONS> fit, screen: maximum estimation iterations (default 300, or 0 when $EST has MAXEVAL=0); 0 only evaluates the objective and individual estimates at the initial values
--cov-step fit, screen: run the covariance step even without $COVARIANCE
--no-cov-step fit, screen: skip the covariance step even when $COVARIANCE is present
--cov-matrix <COV_MATRIX> fit: covariance matrix: rsr (sandwich, NONMEM default) | r | s (default: $COV MATRIX=)
--stem <STEM> fit: file stem for the NONMEM-format outputs (default: the control stream's stem)

VPC

Option Installed description
--ci <PCT> vpc: confidence level (%) of the simulated-percentile bands (default 95) er: confidence level (%) of intervals and bands (default 95)
--lloq <VALUE|COLUMN> vpc, autoinit, screen: lower limit of quantification (vpc: a number or a data column; autoinit, screen: a number); values below it are censored / left out
--param-file <FILE> vpc: parameter sets (CSV with THETA1.., OMEGA(1,1).., SIGMA(1,1).. columns, e.g. bootstrap results) used one per replicate; implies --param-uncertainty
--no-plots vpc: tables only; no HTML report or report SVG files
--print-config <FILE> write the command's annotated settings template to FILE (with the command's extension, e.g. nlmx.eda, nlmx.vpc) and exit

Sims: input and population

Option Installed description
--arm-col <COLUMN> sims: $INPUT item that numbers the arms (default: ARM, TRT, COHORT, GROUP)

Sims: simulation

Option Installed description
--blq-action <ACTION> sims: simulated values below --lloq: none (default) | flag (both keep the values and mark them in the column BLQ) | set-lloq (values become the LLOQ) | drop (the observations are removed); power: drop (default) | half | set-lloq

Power

Option Installed description
--sample-sizes <LIST> power: total subjects of each scenario, e.g. 50,100,150 (default: the dataset's subjects); the scenarios are the combinations with --dropout, --effect-multipliers and --schedule
--allocation <MODE> power: how a scenario's subjects are shared out over the arms: template (as in the dataset, default) | equal | weights (--arm-weights); arms are the values of --arm-col
--arm-weights <LIST> power: relative sizes of the arms for --allocation weights, in increasing order of the arm column
--dropout <LIST> power: fractions of subjects who drop out, e.g. 0,0.1,0.2 (a scenario for each)
--missing-rate <FRACTION> power: fraction of the observations missing at random (default 0)
--compliance <FRACTION> power: fraction of the dose records taken (default 1)
--effect-multipliers <LIST> power: multipliers of the true effects' distance from their null values, e.g. 0.5,1,1.5 (power against effect size; a scenario for each)
--schedule <NAME=TIMES> power: a sampling schedule NAME=t1,t2,... keeping only the observations at those times (repeatable; "all" observations is always a scenario)
--test <SPEC> power: a hypothesis (repeatable). Covariate effect: PARAMCOV=VALUE[;form=power|exponential| linear|proportional][;ref=X][;level=X][;null=X][;name=TEXT], e.g. "CLWT=0.75" or "CL~SEX=-0.3;form=proportional;level=1". THETA: THETA(4)=VALUE[;null=X][;name=TEXT]
--fit-start <START> power: where every fit starts: reference (default) | truth | perturbed
--test-statistic <TEST> power: the test that decides significance: lrt (default) | wald | both
--type1-replicates <N> power: extra replicates per scenario simulated with every effect at its null value (the type I error of the tests; default 0)
--resume power: continue an interrupted run in the same --output folder
--save-datasets <WHICH> power: write the simulated datasets: none (default) | first | all
--max-attempts <N> power: draws tried for an admissible parameter set with --uncertainty (default 100)
--target-power <POWER> power: the power a design must reach (default 0.8)
--rse-fixed <PCT> power: largest acceptable RSE (%) of a fixed effect (default 30)
--rse-random <PCT> power: largest acceptable RSE (%) of a variance (default 50)
--rse-limit <LABEL=PCT> power: RSE limit (%) of one parameter, LABEL=PCT, e.g. THETA(1)=20 (repeatable)
--bias-limit <PCT> power: largest acceptable |relative bias| (%) (default 15)
--shrinkage-limit <PCT> power: largest acceptable ETA shrinkage (%) (default 30)
--convergence-limit <PCT> power: smallest acceptable convergence rate (%) (default 90)
--fim-approximation <APPROX> power: linearisation of the Fisher information: fo (default) | foce | focei
--fim-kind <KIND> power: Fisher information matrix: reduced (default; variance independent of the fixed effects, as in PopED) | full
--fim-draws <N> power: random-effect draws per subject for --fim-approximation foce|focei (default 100)
--fim-step <STEP> power: relative finite-difference step of the Fisher information (default 1e-4)
--no-report power: do not write the HTML report

Interpretation and common failure

Define the test, alpha, effect, dropout, schedule, target power, replicate count, convergence rule, and treatment of failed fits before running. Monte Carlo uncertainty belongs beside SSE power estimates.

The detailed method and examples are in the relevant book chapter. Common nonzero process classes are documented on 36.35. A process exit of zero still requires command-native scientific and numerical review.

Minimal handoff record

Record the version, exact command and working directory, input/settings hashes, selected options and defaults, output path, process exit, native verdict or convergence state, warnings/exclusions, principal results with uncertainty, checksum verification, and reviewer disposition.

See the previous page, next page, and complete command index.