Simulation study: simulate datasets with known covariate effects, fit the base model, run both engines (and a refit SCM reference) and report sensitivity, specificity and agreement Usage: nlmx simulate-study [OPTIONS] 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 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) 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] Generate and simulation study: --model generate, simulate-study: preset project: analytic (default) | ode | iov-blq --subjects generate, simulate-study: subjects in total (generate: split evenly over the groups unless --subjects-per-group is given) --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 generate: number of treatment groups (default: the number of --doses, or 1) --group-names generate: group names, comma separated, e.g. "Low,Mid,High" (default Group 1, Group 2, …) --doses generate: dose (amount) of each group, comma separated, e.g. 50,100,200 (one value: every group; default 100) --subjects-per-group generate: subjects in each group, one value for all or one per group, e.g. 20 or 20,20,40 --n-doses generate: doses per subject (default 1; ADDL = N - 1); sims: number of doses, the last interval is analysed (default 1) --dose-interval generate: dosing interval in hours (default 24) --infusion-duration 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 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 generate: sparse sampling: this many samples per subject, drawn at random from the sampling times --typical 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 generate: between-subject variability as CV %, NAME=CV list, e.g. "CL=30,V=25,KA=40" (0 = no ETA) --prop-error generate: proportional residual error, CV % (default 15) --add-error generate: additive residual error, SD in concentration units (default 0.02) --effects generate: true covariate effects, PARAM~COV=VALUE list, e.g. "CL~WT=0.75,V~WT=1,CL~AGE=-0.3,CL~SEX=0.8" (continuous: power exponent at the median; SEX: factor for SEX = 1). Covariates: WT, AGE, SEX, EGFR, CRCL --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 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 Replicate datasets per scenario (`simulate-study`) --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` This lists the options of `nlmx simulate-study` only (482 options of other commands are not shown). `nlmx --help` lists every option of every command.