Sample size and power of a clinical trial (model-informed drug development): SSE, the stochastic simulation and estimation of PsN's sse (for every design scenario simulate replicate trials from the model, re-estimate the full and reduced models, and report the power of the covariate or parameter tests with bias, RSE, shrinkage, coverage and convergence), and FIM, the expected Fisher information of the design (PopED/PFIM style: expected RSE, Wald power, sample size for the target power). --method sse|fim|both. Settings: -c nlmx.power (--print-config writes the annotated template). See docs/POWER.md Usage: nlmx power [OPTIONS] [CONTROL_STREAM] Arguments: [CONTROL_STREAM] Control stream (.ctl/.mod) of the reference model; same as --ctl Options: -h, --help Print help Method: --method Selection engine: frozen | scm (stepwise forward/backward on refits) | posterior | both (overrides `method` in the config) --threads Worker threads for subject- and replicate-level parallelism (default: all cores). Results do not depend on this value Input selection: --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 .ext and .cov --ctl Control stream (.ctl/.mod) --ext Final estimates (.ext); sims: the parameter values of --estimates final; power: the final estimates (default: those of the control stream) --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 Analysis dataset (overrides $DATA); sims: simulate this dataset instead of generating one Core: -c, --config 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 directory --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: --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 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: --replicates Number of resampling replicates Shared numerics: --seed Master seed (uncertainty draws, resampling, posterior draws, vpc simulations, autoinit ML) Logging and output: --suppress-console <0|1> 0 (default) prints progress to the terminal; 1 silences it (the log is still written) --log-file Write the transcript here instead of log_.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 Output format for `schema`: txt | toml | json | json-schema [default: txt] Fit: --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 fit: covariance matrix: rsr (sandwich, NONMEM default) | r | s (default: $COV MATRIX=) --stem fit: file stem for the NONMEM-format outputs (default: the control stream's stem) VPC: --ci vpc: confidence level (%) of the simulated-percentile bands (default 95) er: confidence level (%) of intervals and bands (default 95) --lloq 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 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 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: --arm-col sims: $INPUT item that numbers the arms (default: ARM, TRT, COHORT, GROUP) Sims: simulation: --blq-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: --sample-sizes 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 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 power: relative sizes of the arms for --allocation weights, in increasing order of the arm column --dropout power: fractions of subjects who drop out, e.g. 0,0.1,0.2 (a scenario for each) --missing-rate power: fraction of the observations missing at random (default 0) --compliance power: fraction of the dose records taken (default 1) --effect-multipliers 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 power: a sampling schedule NAME=t1,t2,... keeping only the observations at those times (repeatable; "all" observations is always a scenario) --test power: a hypothesis (repeatable). Covariate effect: PARAM~COV=VALUE[;form=power|exponential| linear|proportional][;ref=X][;level=X][;null=X][;name=TEXT], e.g. "CL~WT=0.75" or "CL~SEX=-0.3;form=proportional;level=1". THETA: THETA(4)=VALUE[;null=X][;name=TEXT] --fit-start power: where every fit starts: reference (default) | truth | perturbed --test-statistic power: the test that decides significance: lrt (default) | wald | both --type1-replicates 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 power: write the simulated datasets: none (default) | first | all --max-attempts power: draws tried for an admissible parameter set with --uncertainty (default 100) --target-power power: the power a design must reach (default 0.8) --rse-fixed power: largest acceptable RSE (%) of a fixed effect (default 30) --rse-random power: largest acceptable RSE (%) of a variance (default 50) --rse-limit power: RSE limit (%) of one parameter, LABEL=PCT, e.g. THETA(1)=20 (repeatable) --bias-limit power: largest acceptable |relative bias| (%) (default 15) --shrinkage-limit power: largest acceptable ETA shrinkage (%) (default 30) --convergence-limit power: smallest acceptable convergence rate (%) (default 90) --fim-approximation power: linearisation of the Fisher information: fo (default) | foce | focei --fim-kind power: Fisher information matrix: reduced (default; variance independent of the fixed effects, as in PopED) | full --fim-draws power: random-effect draws per subject for --fim-approximation foce|focei (default 100) --fim-step power: relative finite-difference step of the Fisher information (default 1e-4) --no-report power: do not write the HTML report This lists the options of `nlmx power` only (459 options of other commands are not shown). `nlmx --help` lists every option of every command.