36.26 simulate-study 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 simulate-study [OPTIONS]
Required context. Simulation-study settings defining truth effects, datasets/designs, base fitting, engine configurations, replicates, and output location.
What it does. Evaluates operating characteristics by repeatedly simulating data, fitting the base model, and comparing covariate engines including refit SCM references.
Principal outputs. Replicate and aggregate sensitivity, specificity, selection/agreement, fit/diagnostic evidence, logs, and checksums.
Practical invocations
nlmx simulate-study -c simulation.covar -o operating_characteristicsnlmx simulate-study --output study --study-replicates 100 --seed 20261110
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 45 options are parsed directly from nlmx 4.16.1 simulate-study --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 simulate-study 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 |
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) |
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] |
Generate and simulation study
| Option | Installed description |
|---|---|
--model <EXAMPLE_MODEL> |
generate, simulate-study: preset project: analytic (default) | ode | iov-blq |
--subjects <SUBJECTS> |
generate, simulate-study: subjects in total (generate: split evenly over the groups unless |
--subjects-per-group is given) |
|
--structure <STRUCTURE> |
generate: model structure, e.g. 1cmt-oral (default), 2cmt-iv, 3cmt-infusion, 2cmt-oral-lag; parts may also be given with --compartments, --route and --lag |
--groups <N> |
generate: number of treatment groups (default: the number of --doses, or 1) |
--group-names <LIST> |
generate: group names, comma separated, e.g. "Low,Mid,High" (default Group 1, Group 2, …) |
--doses <LIST> |
generate: dose (amount) of each group, comma separated, e.g. 50,100,200 (one value: every group; default 100) |
--subjects-per-group <LIST> |
generate: subjects in each group, one value for all or one per group, e.g. 20 or 20,20,40 |
--n-doses <N> |
generate: doses per subject (default 1; ADDL = N - 1); sims: number of doses, the last interval is analysed (default 1) |
--dose-interval <H> |
generate: dosing interval in hours (default 24) |
--infusion-duration <H> |
generate: infusion duration in hours for --route infusion (default 1); sims: infusion time in hours (0 = bolus or oral; needs a RATE item in $INPUT) |
--sample-times <LIST> |
generate: sampling times (h after each sampled dose), comma separated (default by structure and route); sims: sampling times in hours after the last dose (default 12 times over the interval) |
--sparse-samples <N> |
generate: sparse sampling: this many samples per subject, drawn at random from the sampling times |
--typical <LIST> |
generate: true typical values, NAME=VALUE list, e.g. "CL=5,V=50,KA=1.5" (names: CL, V, Q, VP, Q2, VP2, KA, ALAG) |
--iiv <LIST> |
generate: between-subject variability as CV %, NAME=CV list, e.g. "CL=30,V=25,KA=40" (0 = no ETA) |
--prop-error <CV> |
generate: proportional residual error, CV % (default 15) |
--add-error <SD> |
generate: additive residual error, SD in concentration units (default 0.02) |
--effects <LIST> |
generate: true covariate effects, PARAM |
--no-covariate-effects |
generate: simulate without any covariate effect |
--covariate-model |
generate: also fit the true covariate model (effects estimated) as models/run102, ready for forest |
--author <NAME> |
generate: author named in the header of every control stream (default Obinna Obianom); report: author of the document |
--ode |
generate: write the models as $DES (ADVAN13) instead of the analytic ADVANs |
--no-fit |
generate: write the data and control streams only, without fitting the base model |
--gof-plots |
generate: also draw the goodness-of-fit plots of the fitted models into gof/ (needs the fit; with --covariate-model the true model's plots carry truth in their file names) |
--study-replicates <STUDY_REPLICATES> |
Replicate datasets per scenario (simulate-study) |
--scenarios <SCENARIOS> |
Scenarios for simulate-study (comma separated): rich, sparse, high-shrinkage, correlated, rare-category |
--scm-reference |
Include a refit-based stepwise (SCM) reference in simulate-study |
Interpretation and common failure
Operating characteristics apply only to the simulated truth/design and failure handling. Report Monte Carlo precision, convergence/exclusion rates, effect sizes, correlations, and selection definitions.
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.
Navigation
See the previous page, next page, and complete command index.