Complete nlmx power command and settings index
This is the exhaustive lookup for nlmx 4.16.0. The generated annotated template is preserved beside the chapter. CLI values override file values.
Synopsis and input precedence
nlmx power [CONTROL_STREAM] [OPTIONS]
nlmx power --ctl run.ctl [OPTIONS]
nlmx power -c analysis.power [CLI overrides]
Control stream: positional, then --ctl, then [input] control_stream. Estimate source: --ext/estimates_file, then matching/sole EXT in --model-dir, otherwise control-stream values. Covariance: explicit --cov/covariance, then matching/sole COV in model directory. Nothing is searched beside the CTL automatically.
Complete option table
| Option | Power-specific meaning and default |
|---|---|
CONTROL_STREAM, --ctl FILE |
reference model; positional wins |
-c, --config FILE.power |
TOML settings; relative file paths resolve beside it |
--model-dir DIR |
run family containing EXT and optional COV |
--ext FILE, --cov FILE, --data FILE |
explicit final estimates, estimate covariance, design dataset |
| `--method sse | fim |
--alpha P |
test significance level; default 0.05 |
--target-power P |
design target; default 0.8 |
--ci PCT |
confidence/coverage level; default 95 |
--seed N, --threads N |
master seed default 20260101; worker threads default all cores |
--sample-sizes LIST |
positive whole total subjects; default template N |
--arm-col COL |
numeric arm column |
| `--allocation template | equal |
--arm-weights LIST |
positive weights in ascending arm-level order; implies weights when mode was default |
--dropout LIST |
rates in [0,1); one grid axis |
--missing-rate P, --compliance P |
missing in [0,1); compliance in (0,1] |
--lloq X, `--blq-action drop |
half |
--effect-multipliers LIST |
nonnegative multipliers; default 1 |
--schedule NAME=TIMES |
repeatable; CLI tolerance normalises to 1e-6; all schedule added |
--test SPEC |
repeatable covariate or THETA hypothesis; CLI tests replace file tests |
| `--approximation foce-i | foce |
| `--fit-start reference | truth |
--max-iterations N |
default 100; must be at least 1 |
--cov-step, --no-cov-step |
enable/disable covariance; needed for Wald/RSE/coverage |
| `--cov-matrix r | s |
| `--test-statistic lrt | wald |
--replicates N |
alternative SSE trials/scenario; default 100 |
--type1-replicates N |
null trials/scenario; default 0 |
--uncertainty, --no-uncertainty |
enable/disable SSE parameter uncertainty |
--param-file FILE |
joint parameter rows; implies uncertainty unless explicitly disabled |
--max-attempts N |
admissible uncertainty-draw attempts; default 100 |
| `--save-datasets none | first |
--resume |
use matching JSONL checkpoints in the same output |
| `--fim-approximation fo | foce |
| `--fim-kind reduced | full` |
--fim-draws N, --fim-step X |
defaults 100 and 1e-4; step in (0,0.1) |
--rse-fixed PCT, --rse-random PCT |
defaults 30 and 50 |
--rse-limit LABEL=PCT |
repeatable THETA/OMEGA/SIGMA override |
--bias-limit PCT, --shrinkage-limit PCT, --convergence-limit PCT |
defaults 15, 30, 90 |
-o, --output DIR, --stem NAME |
output folder; stem affects default <stem>_power directory |
--no-plots, --no-report |
suppress plot assets or HTML independently |
--overwrite |
allow non-empty output; do not use in place of valid resume |
--print-config FILE.power |
write annotated template and exit; needs overwrite to replace |
| `--suppress-console 0 | 1, --log-file FILE, --no-color, -v, -q` |
--license |
print licence information and stop |
-h, --help |
shared power help; use the corrections above |
Shared flags --run-dir, --dry-run, --no-checkpoint, --keep-subject-ids, and --format appear in the generated help but are not consumed by the 4.16.0 power pipeline. Do not use them to control a power analysis.
Complete settings keys
| Section | Keys |
|---|---|
[input] |
control_stream, data, model_dir, estimates_file, covariance |
[analysis] |
method, alpha, target_power, ci_level, seed, threads |
[design] |
sample_sizes, arm_column, allocation, arm_weights, dropout_rates, missing_rate, compliance, lloq, blq_action, effect_multipliers |
[[schedule]] |
name, times, tolerance |
[[test]] |
name, kind, parameter, covariate, form, reference, level, theta, value, null |
[estimation] |
approximation, start, max_iterations, covariance_step, covariance_matrix, test |
[sse] |
replicates, type1_replicates, resume, uncertainty, parameter_file, max_attempts, save_datasets |
[fim] |
approximation, kind, draws, step |
[criteria] |
rse_fixed, rse_random, rse_limits, bias, shrinkage, convergence |
[output] |
directory, stem, plots, report |
Test grammar
PARAM~COV=VALUE;form=power|exponential|linear|proportional;ref=X;level=X;null=X;name=TEXT
THETA(k)=VALUE;null=X;name=TEXT
Power factor (X/ref)^beta; exponential exp(beta(X-ref)); linear 1+beta(X-ref); proportional 1+beta at level. Covariate value is required; THETA file value may default to its estimate. Current tests are one df and use two-sided regular LRT/Wald conventions.
Output schema index
| File | Grain and principal columns |
|---|---|
power_scenarios.csv |
scenario: ID/name/N/dropout/multiplier/schedule |
sse_replicates.csv |
trial: scenario/replicate/truth/status/converged/subjects/observations/BLQ/OFV/iterations/seconds/message; dynamic estimate/SE, test, and shrinkage columns |
sse_replicates.jsonl |
fingerprint header plus resumable replicate objects |
sse_power.csv |
scenario × test: LRT/Wald n and power, primary power/CI/MC SE, target, converged/conservative power, Type I, median ΔOFV |
sse_parameters.csv |
scenario × parameter: truth, n, mean/median estimate, bias, RMSE, RSE, coverage, limit checks |
sse_scenarios.csv |
scenario: attempted/completed/failed/converged, observations, shrinkage, seconds, all criteria |
fim_parameters.csv |
scenario × parameter: value/SE/RSE/limit/pass |
fim_power.csv |
scenario × test: truth/null/SE/lambda/power/target/required N |
fim_matrices.csv |
scenario × row × column: information/covariance/correlation |
sample_size.csv |
curve × test × method: target, continuous and rounded N, interpretation note |
power_summary.json/.txt |
structured and human-readable summaries |
plots/*.svg/.png |
power-N, power-effect, and RSE-N when relevant |
report.html |
navigable rendered report |
power_settings_used.power |
resolved analysis settings; positional CTL not included |
checksums.sha256, log_*.txt |
integrity manifest and transcript |
Validation limits
Rates and percentages are validated as described on the numbered pages; unknown keys fail. FIM applies schedules, dropout approximation, missing-rate scaling, allocation, N, and effect values, but not compliance or LLOQ. SSE observes estimator failures; FIM does not. Return to the Chapter 31 overview.